From d6d8d20ecf8d6b17c10879af991d0f96cde15f94 Mon Sep 17 00:00:00 2001 From: Simon Forsberg Date: Sun, 4 Apr 2021 22:09:46 +0200 Subject: [PATCH] Fix frontend default branch to main --- games-vue-client/vue.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/games-vue-client/vue.config.js b/games-vue-client/vue.config.js index c8d66dca..b56a86c9 100644 --- a/games-vue-client/vue.config.js +++ b/games-vue-client/vue.config.js @@ -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") {