Skip to content

Commit

Permalink
Merge pull request #49 from TheAsel/prepare_for_tauri_bundling
Browse files Browse the repository at this point in the history
🔧 Switched to .env for auto-open of browser
  • Loading branch information
TheAsel authored Oct 6, 2024
2 parents df478f5 + 1f22fdc commit 863aebb
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
API_URL='https://backbybe.fly.dev'
API_URL='https://backbybe.fly.dev'
AUTO_OPEN_BROWSER=true
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "echo \"No test specified\" && exit 0",
"dev": "quasar dev",
"build": "quasar build",
"start": "./node_modules/@quasar/cli/bin/quasar.js serve dist/spa --history --open --hostname localhost"
"start": "./node_modules/@quasar/cli/bin/quasar.js serve dist/spa --history --hostname localhost"
},
"dependencies": {
"@quasar/extras": "^1.16.12",
Expand Down
2 changes: 1 addition & 1 deletion quasar.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export default configure((/* ctx */) => {
// Full list of options: https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#devServer
devServer: {
// https: true
open: true // opens browser window automatically
open: process.env.AUTO_OPEN_BROWSER === 'true' // opens browser window automatically
},

// https://v2.quasar.dev/quasar-cli-vite/quasar-config-js#framework
Expand Down

0 comments on commit 863aebb

Please sign in to comment.