This commit is contained in:
2026-10-25 12:47:13 +03:30
parent 95a2ae851d
commit e2a1b5fba1
2 changed files with 19 additions and 1 deletions
+11
View File
@@ -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
View File
@@ -2,5 +2,12 @@ import {defineConfig} from 'vite';
export default defineConfig({
// Relative assets also load under a GitHub Pages repository path.
base: './'
base: './',
server: {
host: true,
allowedHosts: [
'robotmarkets.ir',
'www.robotmarkets.ir',
],
},
});