Skip to content

Commit

Permalink
🔧 chore(quasar.config.js): add API_BASE_URL environment variable to d…
Browse files Browse the repository at this point in the history
…ifferentiate between development and production API endpoints

The API_BASE_URL environment variable has been added to the Quasar configuration file. This allows the application to use different API endpoints depending on the environment. In development, the application will use the staging API endpoint, while in production, it will use the production API endpoint. This change makes it easier to manage and switch between different environments.
  • Loading branch information
jmcruz14 committed Oct 18, 2023
1 parent e0bcd6b commit 746a5a6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions quasar.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,9 @@ module.exports = configure(function (ctx) {
env: {
...env,
APP_VERSION: pkg.version,
API_BASE_URL: ctx.dev
? 'https://api.staging.mycure.md'
: 'https://api.mycure.md',
},
// rawDefine: {}
// ignorePublicFolder: true,
Expand Down

0 comments on commit 746a5a6

Please sign in to comment.