File tree 3 files changed +6
-4
lines changed
3 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 1
1
VITE_API_URL = replace-me
2
- VITE_GLITCHTIP_KEY = dont-use-on-development
3
2
VITE_MAPTILER_API_KEY = replace-me
Original file line number Diff line number Diff line change @@ -21,7 +21,8 @@ set -vx
21
21
# - PROXY_PORT: the port number being proxied (e.g. '4000')
22
22
# - PROXY_PATH: the path being proxied (e.g. '/api')
23
23
# - BASE_URL_PATH # not actually used but might be in future?
24
- # - GLITCHTIP_KEY
24
+ # - FE_GLITCHTIP_KEY
25
+ # - BE_GLITCHTIP_KEY
25
26
# - MAPTILER_API_KEY
26
27
# - DBUS_SESSION_BUS_ADDRESS: required for service management
27
28
# - FIXME the user can write to DEPLOY_DEST, WWW_ROOT
@@ -84,7 +85,7 @@ cp .tool-versions "$DEPLOY_DEST"
84
85
# FIXME these shouldn't be hardwired!
85
86
cat >> .env << EOF
86
87
VITE_API_URL=/api
87
- VITE_GLITCHTIP_KEY=${GLITCHTIP_KEY :? }
88
+ VITE_GLITCHTIP_KEY=${FE_GLITCHTIP_KEY :? }
88
89
VITE_MAPTILER_API_KEY=${MAPTILER_API_KEY:? }
89
90
EOF
90
91
105
106
cat >> " $BE_DEST /.env" << EOF
106
107
SERVER_DATA_ROOT=$DATA_DEST
107
108
FASTIFY_PORT=$PROXY_PORT
109
+ GLITCHTIP_KEY=${BE_GLITCHTIP_KEY:? }
108
110
# root address?
109
111
EOF
110
112
Original file line number Diff line number Diff line change @@ -76,7 +76,8 @@ values redacted:
76
76
export PROXY_PORT=1$UID
77
77
export PROXY_PATH=/api
78
78
export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$UID/bus
79
- export GLITCHTIP_KEY=*REDACTED*
79
+ export FE_GLITCHTIP_KEY=*REDACTED*
80
+ export BE_GLITCHTIP_KEY=*REDACTED*
80
81
export MAPTILER_API_KEY=*REDACTED*
81
82
82
83
* Note: paths here should be absolute - relative paths will not work in
You can’t perform that action at this time.
0 commit comments