Skip to content

Commit 20f7df2

Browse files
committed
fix: TTA-174 update to check if it is legacy
1 parent 086b86d commit 20f7df2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/app-routing.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { V2RedirectComponent } from './modules/v2-redirect/v2-redirect.component
1515
import { EnvironmentType } from 'src/environments/enum';
1616
import { environment } from 'src/environments/environment';
1717

18-
const isNotLegacy: boolean = environment.production !== EnvironmentType.TT_DEV;
18+
const isNotLegacy: boolean = environment.production !== EnvironmentType.TT_PROD_LEGACY;
1919
let routes: Routes;
2020

2121
if (isNotLegacy) {

0 commit comments

Comments
 (0)