Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
image url
Browse files- vite.config.ts +1 -2
vite.config.ts
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import { sveltekit } from '@sveltejs/kit/vite';
|
2 |
import { enhancedImages } from '@sveltejs/enhanced-img';
|
3 |
import { defineConfig, searchForWorkspaceRoot } from 'vite';
|
4 |
-
import { env } from '$env/dynamic/public';
|
5 |
|
6 |
export default defineConfig({
|
7 |
plugins: [
|
@@ -10,7 +9,7 @@ export default defineConfig({
|
|
10 |
],
|
11 |
server: {
|
12 |
fs: {
|
13 |
-
allow: [searchForWorkspaceRoot(process.cwd()),
|
14 |
}
|
15 |
}
|
16 |
});
|
|
|
1 |
import { sveltekit } from '@sveltejs/kit/vite';
|
2 |
import { enhancedImages } from '@sveltejs/enhanced-img';
|
3 |
import { defineConfig, searchForWorkspaceRoot } from 'vite';
|
|
|
4 |
|
5 |
export default defineConfig({
|
6 |
plugins: [
|
|
|
9 |
],
|
10 |
server: {
|
11 |
fs: {
|
12 |
+
allow: [searchForWorkspaceRoot(process.cwd()), '/uploads', '/data/uploads']
|
13 |
}
|
14 |
}
|
15 |
});
|