@sveltejs/adapter-vercel 1.0.0-next.78 → 1.0.0-next.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -98,7 +98,7 @@ export default function ({ external = [], edge, split } = {}) {
98
98
  const files = fileURLToPath(new URL('./files', import.meta.url).href);
99
99
 
100
100
  const dirs = {
101
- static: `${dir}/static`,
101
+ static: `${dir}/static${builder.config.kit.paths.base}`,
102
102
  functions: `${dir}/functions`
103
103
  };
104
104
 
@@ -118,7 +118,7 @@ export default function ({ external = [], edge, split } = {}) {
118
118
  ...redirects[builder.config.kit.trailingSlash],
119
119
  ...prerendered_redirects,
120
120
  {
121
- src: `/${builder.config.kit.appDir}/.+`,
121
+ src: `/${builder.getAppPath()}/.+`,
122
122
  headers: {
123
123
  'cache-control': 'public, immutable, max-age=31536000'
124
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/adapter-vercel",
3
- "version": "1.0.0-next.78",
3
+ "version": "1.0.0-next.79",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -27,7 +27,7 @@
27
27
  "esbuild": "^0.15.7"
28
28
  },
29
29
  "devDependencies": {
30
- "@sveltejs/kit": "1.0.0-next.513",
30
+ "@sveltejs/kit": "1.0.0-next.515",
31
31
  "@types/node": "^16.11.36",
32
32
  "typescript": "^4.8.2"
33
33
  },