File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ NEXT_PUBLIC_ME_MODEL_ANALYSIS_WS_URL=wss://yyuu69y9fk.execute-api.us-east-1.amaz
8
8
NEXT_PUBLIC_VIRTUAL_LAB_API_URL = https://www.openbraininstitute.org/api/virtual-lab-manager
9
9
NEXT_PUBLIC_BBS_ML_BASE_URL = https://www.openbraininstitute.org/api/literature
10
10
11
-
12
-
13
11
NEXT_PUBLIC_MATOMO_URL = " https://openbraininstitute.matomo.cloud"
14
12
NEXT_PUBLIC_MATOMO_CDN_URL = " https://cdn.matomo.cloud/openbraininstitute.matomo.cloud"
15
13
NEXT_PUBLIC_MATOMO_SITE_ID = " 1"
14
+
15
+ NEXT_PUBLIC_DEPLOYMENT_ENV = " production"
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ NEXT_PUBLIC_ME_MODEL_ANALYSIS_WS_URL=wss://yyuu69y9fk.execute-api.us-east-1.amaz
8
8
NEXT_PUBLIC_VIRTUAL_LAB_API_URL = https://staging.openbraininstitute.org/api/virtual-lab-manager
9
9
NEXT_PUBLIC_BBS_ML_BASE_URL = https://staging.openbraininstitute.org/api/literature
10
10
11
-
12
-
13
11
NEXT_PUBLIC_MATOMO_URL = " https://openbraininstitute.matomo.cloud"
14
12
NEXT_PUBLIC_MATOMO_CDN_URL = " https://cdn.matomo.cloud/openbraininstitute.matomo.cloud"
15
13
NEXT_PUBLIC_MATOMO_SITE_ID = " 3"
14
+
15
+ NEXT_PUBLIC_DEPLOYMENT_ENV = " staging"
Original file line number Diff line number Diff line change @@ -82,7 +82,10 @@ export async function POST(req: Request) {
82
82
83
83
if ( env . NEXT_PUBLIC_DEPLOYMENT_ENV === 'staging' ) {
84
84
tags . push ( 'test' ) ;
85
+ } else {
86
+ tags . push ( 'prod' ) ;
85
87
}
88
+
86
89
if ( formValidation . tags && formValidation . tags . length ) {
87
90
tags = [ ...tags , ...formValidation . tags ] ;
88
91
}
You can’t perform that action at this time.
0 commit comments