We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06c2a30 commit f858e3dCopy full SHA for f858e3d
api/docker-entrypoint.api/entrypoint.sh
@@ -3,6 +3,14 @@
3
configTemplateFile=/api/app-config.template.js
4
configTargetFile=/api/public/assets/app-config.js
5
6
+# Temporarily unset VUE_APP_GITHUB_TOKEN
7
+# this is requiered until vue app is updated to remove tokens from it
8
+tempToken=$VUE_APP_GITHUB_TOKEN
9
+unset VUE_APP_GITHUB_TOKEN
10
+
11
envsubst <"$configTemplateFile" >"$configTargetFile"
12
13
+# Restore VUE_APP_GITHUB_TOKEN
14
+export VUE_APP_GITHUB_TOKEN=$tempToken
15
16
node server.mjs
0 commit comments