Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
vite config allow absolute path
Browse files- vite.config.ts +3 -2
vite.config.ts
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
import { sveltekit } from '@sveltejs/kit/vite';
|
2 |
import { enhancedImages } from '@sveltejs/enhanced-img';
|
3 |
-
import { defineConfig
|
4 |
|
5 |
export default defineConfig({
|
6 |
plugins: [
|
@@ -9,7 +9,8 @@ export default defineConfig({
|
|
9 |
],
|
10 |
server: {
|
11 |
fs: {
|
12 |
-
|
|
|
13 |
}
|
14 |
}
|
15 |
});
|
|
|
1 |
import { sveltekit } from '@sveltejs/kit/vite';
|
2 |
import { enhancedImages } from '@sveltejs/enhanced-img';
|
3 |
+
import { defineConfig } from 'vite';
|
4 |
|
5 |
export default defineConfig({
|
6 |
plugins: [
|
|
|
9 |
],
|
10 |
server: {
|
11 |
fs: {
|
12 |
+
strict: false,
|
13 |
+
allow: [".."]
|
14 |
}
|
15 |
}
|
16 |
});
|