File tree Expand file tree Collapse file tree 4 files changed +20
-2
lines changed
Expand file tree Collapse file tree 4 files changed +20
-2
lines changed Original file line number Diff line number Diff line change 11import styled from '@emotion/styled' ;
22import { Helmet } from 'react-helmet-async' ;
3+ import { EXTERNAL_DOMAIN } from '~/constants/external' ;
34
45const NotFound = ( ) => {
56 return (
@@ -17,7 +18,7 @@ const NotFound = () => {
1718 < br />
1819 URL을 다시 확인해 주세요.
1920 </ Description >
20- < HomeLink href = "https://boolti.in" > 불티 홈으로 가기</ HomeLink >
21+ < HomeLink href = { EXTERNAL_DOMAIN . SHOW_MANAGER } > 불티 홈으로 가기</ HomeLink >
2122 </ Content >
2223 </ Container >
2324 </ >
Original file line number Diff line number Diff line change 1+ import { IS_PRODUCTION_PHASE } from './phase' ;
2+
3+ export const EXTERNAL_DOMAIN = {
4+ SHOW_MANAGER : `https://${ IS_PRODUCTION_PHASE ? '' : 'dev.' } boolti.in` ,
5+ SHOW_TICKET_PREVIEW : `https://${ IS_PRODUCTION_PHASE ? '' : 'dev.' } preview.boolti.in` ,
6+ } as const ;
7+
8+ export const EXTERNAL_URL = {
9+ SHOW_MANAGER_INFO : ( showId : string | number ) =>
10+ `${ EXTERNAL_DOMAIN . SHOW_MANAGER } /show/${ showId } /info` ,
11+
12+ SHOW_TICKET_PREVIEW : ( showId : string | number ) =>
13+ `${ EXTERNAL_DOMAIN . SHOW_TICKET_PREVIEW } /show/${ showId } ` ,
14+ } as const ;
Original file line number Diff line number Diff line change 1+ export const IS_PRODUCTION_PHASE = window . location . origin === 'https://profile.boolti.in' ;
Original file line number Diff line number Diff line change 1- export const PROFILE_URL = 'https://profile.boolti.in/' ;
1+ import { IS_PRODUCTION_PHASE } from './phase' ;
2+
3+ export const PROFILE_URL = `https://${ IS_PRODUCTION_PHASE ? '' : 'profile.dev.' } ${ IS_PRODUCTION_PHASE ? 'profile.' : '' } boolti.in/` ;
You can’t perform that action at this time.
0 commit comments