Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit23bedee

Browse files
committed
setup for admin mode env var
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parent6759ce7 commit23bedee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎web-app/src/environment.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,4 @@ export const TUTORIAL_LIST_URL: string = process.env.REACT_APP_TUTORIAL_LIST_URL
1616
exportconstDISPLAY_RUN_TEST_BUTTON=
1717
(process.env.CODEROAD_DISPLAY_RUN_TEST_BUTTON||'true').toLowerCase()!=='false'// default true
1818

19-
exportconstADMIN_MODE=false
20-
// (process.env.CODEROAD_ADMIN_MODE || process.env.STORYBOOK_ADMIN_MODE || '').toLowerCase() === 'true' // default false
19+
exportconstADMIN_MODE=(process.env.CODEROAD_ADMIN_MODE||'').toLowerCase()==='true'// default false

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp