Skip to content

Commit

Permalink
Update vite.config.ts
Browse files Browse the repository at this point in the history
Removed origin param as it causes dev to not be able to load assets.
  • Loading branch information
nhkhai committed May 26, 2024
1 parent 39374e4 commit e25f209
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ export default defineConfig({
server: {
port: 8080,
strictPort: true,
host: true,
origin: "https://0.0.0.0:8080",
// host: true,
// host: "0.0.0.0", // Use host: '0.0.0.0' for listening on all interfaces.
// origin: "https://0.0.0.0:8080",
},
});

0 comments on commit e25f209

Please sign in to comment.