Skip to content

Commit

Permalink
Make devServer available on local WiFi network to view on mobile device
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett-S-OWB committed Dec 3, 2024
1 parent 5a187c1 commit 555dc26
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/modules/web_themes/standard/source/quasar.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,11 @@ export default configure((/* ctx */) => {
devServer: {
// https: true
open: true, // opens browser window automatically
host: '0.0.0.0', // Allow external access
proxy: {
'/ws': {
target: 'ws://localhost:9001',
//target: 'ws://localhost:9000',
target: 'ws://0.0.0.0:9001', // Changed from localhost
ws: true,
},
},
Expand Down

0 comments on commit 555dc26

Please sign in to comment.