From e2a1b5fba140615915a7aef21c1563a20ce2c3e1 Mon Sep 17 00:00:00 2001 From: "hamed@B" Date: Sun, 25 Oct 2026 12:47:13 +0330 Subject: [PATCH] update --- .claude/launch.json | 11 +++++++++++ vite.config.js | 9 ++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .claude/launch.json diff --git a/.claude/launch.json b/.claude/launch.json new file mode 100644 index 0000000..40b3f5f --- /dev/null +++ b/.claude/launch.json @@ -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 + } + ] +} diff --git a/vite.config.js b/vite.config.js index 5e9c3a4..ffe9681 100644 --- a/vite.config.js +++ b/vite.config.js @@ -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', + ], + }, });