Skip to content

Commit

Permalink
Fix frontend default branch to main
Browse files Browse the repository at this point in the history
  • Loading branch information
Zomis committed Apr 4, 2021
1 parent 3820a5a commit d6d8d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions games-vue-client/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ if (isAWS) {
process.env.VUE_APP_BUILD_TIME = new Date().toISOString()
process.env.VUE_APP_BUILD_NUMBER = 0
process.env.VUE_APP_GIT_COMMIT = gitDescribeSync().hash
process.env.VUE_APP_GIT_BRANCH = "master"
process.env.VUE_APP_GIT_BRANCH = "main"
}

let branch = process.env.VUE_APP_GIT_BRANCH;
if (branch === "master") {
if (branch === "main") {
branch = "";
}
if (process.env.NODE_ENV === "development") {
Expand Down

0 comments on commit d6d8d20

Please sign in to comment.