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
@@ -10,7 +10,8 @@ export default defineConfig({
|
|
10 |
server: {
|
11 |
fs: {
|
12 |
strict: false,
|
13 |
-
allow: [".."]
|
14 |
-
}
|
|
|
15 |
}
|
16 |
});
|
|
|
10 |
server: {
|
11 |
fs: {
|
12 |
strict: false,
|
13 |
+
allow: [".."],
|
14 |
+
},
|
15 |
+
origin: "http://localhost:3000",
|
16 |
}
|
17 |
});
|