Skip to content

Commit

Permalink
url_fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DeiranLv committed May 28, 2024
1 parent 23f0779 commit 0d33c2b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ jobs:
run: pnpm install

- name: Build Vue.js app
env:
PUBLIC_URL: /DatZ1000/ # This should match the `base` property in vite.config.mjs
run: pnpm build

- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const getEnvVariables = (mode, serving) => {
envVariables.VUE_APP_SERVICE_URL = envVariables.VUE_APP_SERVICE_URL || '{{SERVICE_URL}}';
envVariables.VUE_APP_AUTH_URL = envVariables.VUE_APP_AUTH_URL || '{{AUTH_URL}}';
envVariables.BASE_PATH = envVariables.BASE_PATH || './';
envVariables.BASE_URL = envVariables.BASE_URL || './';
envVariables.BASE_URL = envVariables.BASE_URL || '{{PUBLIC_URL}}';
envVariables.VUE_APP_CLIENT_ID = envVariables.VUE_APP_CLIENT_ID || CONFIG.defaultClient;
}
return envVariables;
Expand Down

0 comments on commit 0d33c2b

Please sign in to comment.