Skip to content

Commit

Permalink
Fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
nicou committed Aug 20, 2023
1 parent 3fc61ad commit 6bf3281
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 1 addition & 2 deletions .env.production
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
VUE_APP_BACKEND_URL=https://192.168.1.2/
VUE_APP_BACKEND_USER=
VUE_APP_BACKEND_PASS=
VUE_APP_BACKEND_PASS=VUE_APP_BACKEND_URL=https://apps.odysseuslarp.dev/
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
"scripts": {
"start": "npm run serve",
"serve": "vue-cli-service serve",
"build": "cp -r fonts/* node_modules/onsenui/css/font_awesome && vue-cli-service build",
"lint": "vue-cli-service lint",
"deploy": "aws s3 sync dist/ s3://turboencabulator.space"
"build": "cp -r fonts/* node_modules/onsenui/css/font_awesome && NODE_ENVIRONMENT=production vue-cli-service build",
"lint": "vue-cli-service lint"
},
"dependencies": {
"axios": "^0.18.0",
Expand Down
3 changes: 2 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true
transpileDependencies: true,
publicPath: process.env.NODE_ENV === 'production' ? '/hansca/' : '/',
})

0 comments on commit 6bf3281

Please sign in to comment.