mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 08:11:13 -05:00
Improve server access by allowing any host to connect
Update vite.config.ts to set server.allowedHosts to true. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 8e00d8b1-e8de-4f48-99ca-dbba7279e1a6 Replit-Commit-Checkpoint-Type: intermediate_checkpoint
This commit is contained in:
@@ -8,6 +8,7 @@ export default defineConfig(({ mode }) => ({
|
|||||||
server: {
|
server: {
|
||||||
host: "::",
|
host: "::",
|
||||||
port: 5000,
|
port: 5000,
|
||||||
|
allowedHosts: true,
|
||||||
},
|
},
|
||||||
plugins: [react(), mode === "development" && componentTagger()].filter(Boolean),
|
plugins: [react(), mode === "development" && componentTagger()].filter(Boolean),
|
||||||
resolve: {
|
resolve: {
|
||||||
|
|||||||
Reference in New Issue
Block a user