Skip to content

Commit

Permalink
publicpath smh
Browse files Browse the repository at this point in the history
  • Loading branch information
solderq35 committed Apr 14, 2024
1 parent 2bf9c84 commit b5f7081
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,9 @@ module.exports = {
}
},
publicPath:
process.env.NODE_ENV === 'production' ? '/sustainability-kiosks/' : '/'
process.env.NODE_ENV === 'production' &&
process.env.VUE_APP_HOST_ADDRESS ===
'https://osu-sustainability-office.github.io/sustainability-kiosks/'
? '/sustainability-kiosks/'
: '/'
}

0 comments on commit b5f7081

Please sign in to comment.