Skip to content

Commit 78342f1

Browse files
git commit -m 'deployed release 1.2'
1 parent 0e16e1b commit 78342f1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

course-matrix/frontend/vite.config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,10 @@ export default defineConfig({
1010
"@": path.resolve(__dirname, "./src"),
1111
},
1212
},
13+
server: {
14+
host: "0.0.0.0", // Allow access from external devices
15+
port: 5173, // Ensure it's using the correct port
16+
strictPort: true, // Ensure it doesn't pick a different port if 5173 is in use
17+
open: false, // Prevent auto-opening a browser on the server
18+
},
1319
});

0 commit comments

Comments
 (0)