Skip to content

Commit 15c1c7c

Browse files
committed
Add usage of mode to Nimbus vite.config.ts to determine allowedHosts
We want to enforce the usage of thunderstore.temp local dev domain, to ensure consistency in everyday debugging and development.
1 parent a8426a5 commit 15c1c7c

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

apps/cyberstorm-remix/.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ VITE_COOKIE_DOMAIN=
1111
VITE_AUTH_BASE_URL=
1212
VITE_AUTH_RETURN_URL=
1313
VITE_CLIENT_SENTRY_DSN=
14+
__VITE_ADDITIONAL_SERVER_ALLOWED_HOSTS=

apps/cyberstorm-remix/vite.config.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ export default defineConfig({
1010
// https://vitejs.dev/config/server-options.html#server-watch
1111
watch: { usePolling: true, interval: 500 },
1212
hmr: { path: "/react-router" },
13-
allowedHosts: [
14-
// ".thunderstore.temp",
15-
".thunderstore.dev",
16-
".thunderstore.io",
17-
],
13+
allowedHosts: [".thunderstore.dev", ".thunderstore.io"],
1814
},
1915
plugins: [
2016
reactRouter(),

0 commit comments

Comments
 (0)