Skip to content

Commit 4a4a04a

Browse files
committed
chore(test): fix env vars
1 parent 2fe8180 commit 4a4a04a

2 files changed

Lines changed: 42 additions & 1 deletion

File tree

.env.test

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
##### Dev Server ##########################
2+
3+
# optional
4+
DEV_VITE_SERVER_CRT_PATH=
5+
6+
# optional
7+
DEV_VITE_SERVER_KEY_PATH=
8+
9+
##### Application #########################
10+
11+
# required
12+
VITE_APP_URL=https://localhost
13+
14+
# required
15+
VITE_ROCKETCHAT_URL=https://localhost
16+
17+
# required
18+
VITE_CODIMD_URL=https://localhost
19+
20+
# optional
21+
VITE_LOG_LEVEL=debug
22+
23+
# optional
24+
VITE_REPOSITORY_URL=https://localhost
25+
26+
# optional
27+
VITE_PUBLIC_ISSUE_TRACKER=https://localhost
28+
29+
# optional
30+
VITE_INTERNAL_ISSUE_TRACKER=https://localhost
31+
32+
# optional
33+
VITE_SECRET_GITLAB_TOKEN=notactuallyused
34+
35+
##### OIDC Authentication #################
36+
37+
# required
38+
VITE_GITLAB_CLIENT_ID=notactuallyused
39+
40+
# required
41+
VITE_GITLAB_AUTHORITY=http://localhost

vite.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export default defineConfig(({ mode }) => {
4949
host: new URL(env.VITE_APP_URL).hostname,
5050
port: PORT,
5151
https:
52-
mode === 'production'
52+
mode === 'production' || mode === 'test'
5353
? undefined
5454
: {
5555
cert: readFileSync(

0 commit comments

Comments
 (0)