update
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
"version": "0.0.1",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "game",
|
||||||
|
"runtimeExecutable": "sh",
|
||||||
|
"runtimeArgs": ["-c", "npx vite build && npx vite preview --port 4173 --strictPort"],
|
||||||
|
"port": 4173
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
+8
-1
@@ -2,5 +2,12 @@ import {defineConfig} from 'vite';
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
// Relative assets also load under a GitHub Pages repository path.
|
// Relative assets also load under a GitHub Pages repository path.
|
||||||
base: './'
|
base: './',
|
||||||
|
server: {
|
||||||
|
host: true,
|
||||||
|
allowedHosts: [
|
||||||
|
'robotmarkets.ir',
|
||||||
|
'www.robotmarkets.ir',
|
||||||
|
],
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user