Skip to content

Commit

Permalink
Fixed devtools display and websocket communication (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
mlhaufe authored Oct 3, 2024
1 parent b3c1324 commit f9f4577
Show file tree
Hide file tree
Showing 4 changed files with 134 additions and 2,651 deletions.
1 change: 1 addition & 0 deletions .devcontainer/compose.extend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ services:
ports:
- 3000:3000
- 443:3000
- 24678:24678
networks:
- app-network
# puts the Dev Container on the same network as the database, so that it can access it on localhost
Expand Down
16 changes: 13 additions & 3 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,13 @@ export default defineNuxtConfig({
// https://primeflex.org/
// https://sidebase.io/nuxt-auth/getting-started
modules: [
// The latest version (^1.5.0) is needed due to https://github.com/nuxt/devtools/issues/723
// It looks like this won't be integrated into Nuxt until after 3.14.0
'@nuxt/devtools',
"nuxt-primevue",
"@vite-pwa/nuxt",
"nuxt-security",
"@sidebase/nuxt-auth"
"@sidebase/nuxt-auth",
"nuxt-security"
],
runtimeConfig: {
// The private keys which are only available within server-side
Expand Down Expand Up @@ -154,5 +157,12 @@ export default defineNuxtConfig({
typescript: {
typeCheck: true
},
vite: {}
vite: {
server: {
hmr: {
protocol: 'wss',
host: '0.0.0.0'
}
}
}
})
Loading

0 comments on commit f9f4577

Please sign in to comment.