Skip to content

Commit

Permalink
fix: make BASE_URL environment specific
Browse files Browse the repository at this point in the history
  • Loading branch information
ayeks committed Mar 11, 2024
1 parent a93da08 commit dc5646c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<div id="app" class="container">
<h1>Finanzguru 2 YNAB</h1>
<div>
<img src="/favicon.png" alt="Money with Wings">
<img src="<%= BASE_URL %>favicon.png" alt="Money with Wings">
</div>
<div>
<p>
Expand Down
5 changes: 4 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,8 @@ module.exports = defineConfig({
module.exports = {
configureWebpack: {
devtool: 'source-map'
}
},
publicPath: process.env.NODE_ENV === 'production'
? '/finanzguru2ynab/'
: '/',
}

0 comments on commit dc5646c

Please sign in to comment.