Skip to content

Commit 73e4988

Browse files
author
Mukul Mehta
committed
Action config depending on app stage; v0.10.1
1 parent 2f66673 commit 73e4988

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "mex",
33
"productName": "Mex",
4-
"version": "0.10.0",
4+
"version": "0.10.1",
55
"description": "Mex it to flex it",
66
"main": ".webpack/main",
77
"scripts": {
@@ -184,4 +184,4 @@
184184
"**/@types/react": "^17.0.18",
185185
"**/@types/react-dom": "^17.0.9"
186186
}
187-
}
187+
}

src/apis/routes.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const WORKDUCK_API_BASE = 'https://http.workduck.io'
2323
export const CDN_BASE = 'https://cdn.workduck.io'
2424

2525
// export const ACTION_ENV = IS_DEV ? 'test' : 'prod'
26-
export const ACTION_ENV = 'test'
26+
export const ACTION_ENV = config.constants.STAGE === 'stable' ? 'prod' : 'test'
2727

2828
export const GOOGLE_OAUTH_URL = `${MEXIT_FRONTEND_BASE_URL}/oauth/desktop`
2929
export const GOOGLE_CAL_BASE = 'https://www.googleapis.com/calendar/v3/calendars'

0 commit comments

Comments
 (0)