juice-shop

Форк
0
/
scoreBoardChallenge_3.ts 
187 строк · 3.5 Кб
1
const routes: Routes = [
2
  {
3
    path: 'administration',
4
    component: AdministrationComponent,
5
    canActivate: [AdminGuard]
6
  },
7
  {
8
    path: 'accounting',
9
    component: AccountingComponent,
10
    canActivate: [AccountingGuard]
11
  },
12
  {
13
    path: 'about',
14
    component: AboutComponent
15
  },
16
  {
17
    path: 'address/select',
18
    component: AddressSelectComponent,
19
    canActivate: [LoginGuard]
20
  },
21
  {
22
    path: 'address/saved',
23
    component: SavedAddressComponent,
24
    canActivate: [LoginGuard]
25
  },
26
  {
27
    path: 'address/create',
28
    component: AddressCreateComponent,
29
    canActivate: [LoginGuard]
30
  },
31
  {
32
    path: 'address/edit/:addressId',
33
    component: AddressCreateComponent,
34
    canActivate: [LoginGuard]
35
  },
36
  {
37
    path: 'delivery-method',
38
    component: DeliveryMethodComponent
39
  },
40
  {
41
    path: 'deluxe-membership',
42
    component: DeluxeUserComponent,
43
    canActivate: [LoginGuard]
44
  },
45
  {
46
    path: 'saved-payment-methods',
47
    component: SavedPaymentMethodsComponent
48
  },
49
  {
50
    path: 'basket',
51
    component: BasketComponent
52
  },
53
  {
54
    path: 'order-completion/:id',
55
    component: OrderCompletionComponent
56
  },
57
  {
58
    path: 'contact',
59
    component: ContactComponent
60
  },
61
  {
62
    path: 'photo-wall',
63
    component: PhotoWallComponent
64
  },
65
  {
66
    path: 'complain',
67
    component: ComplaintComponent
68
  },
69
  {
70
    path: 'chatbot',
71
    component: ChatbotComponent
72
  },
73
  {
74
    path: 'order-summary',
75
    component: OrderSummaryComponent
76
  },
77
  {
78
    path: 'order-history',
79
    component: OrderHistoryComponent
80
  },
81
  {
82
    path: 'payment/:entity',
83
    component: PaymentComponent
84
  },
85
  {
86
    path: 'wallet',
87
    component: WalletComponent
88
  },
89
  {
90
    path: 'login',
91
    component: LoginComponent
92
  },
93
  {
94
    path: 'forgot-password',
95
    component: ForgotPasswordComponent
96
  },
97
  {
98
    path: 'recycle',
99
    component: RecycleComponent
100
  },
101
  {
102
    path: 'register',
103
    component: RegisterComponent
104
  },
105
  {
106
    path: 'search',
107
    component: SearchResultComponent
108
  },
109
  {
110
    path: 'hacking-instructor',
111
    component: SearchResultComponent
112
  },
113
  {
114
    path: 'track-result',
115
    component: TrackResultComponent
116
  },
117
  {
118
    path: 'track-result/new',
119
    component: TrackResultComponent,
120
    data: {
121
      type: 'new'
122
    }
123
  },
124
  {
125
    path: '2fa/enter',
126
    component: TwoFactorAuthEnterComponent
127
  },
128
  {
129
    path: 'privacy-security',
130
    component: PrivacySecurityComponent,
131
    children: [
132
      {
133
        path: 'privacy-policy',
134
        component: PrivacyPolicyComponent
135
      },
136
      {
137
        path: 'change-password',
138
        component: ChangePasswordComponent
139
      },
140
      {
141
        path: 'two-factor-authentication',
142
        component: TwoFactorAuthComponent
143
      },
144
      {
145
        path: 'data-export',
146
        component: DataExportComponent
147
      },
148
      {
149
        path: 'last-login-ip',
150
        component: LastLoginIpComponent
151
      }
152
    ]
153
  },
154
  {
155
    path: 'juicy-nft',
156
    component: NFTUnlockComponent
157
  },
158
  {
159
    path: 'wallet-web3',
160
    loadChildren: async () => await loadWeb3WalletModule()
161
  },
162
  {
163
    path: 'web3-sandbox',
164
    loadChildren: async () => await loadWeb3SandboxtModule()
165
  },
166
  {
167
    path: 'bee-haven',
168
    loadChildren: async () => await loadFaucetModule()
169
  },
170
   {
171
    matcher: oauthMatcher,
172
    data: { params: (window.location.href).substr(window.location.href.indexOf('#')) },
173
    component: OAuthComponent
174
  },
175
  {
176
    matcher: tokenMatcher,
177
    component: TokenSaleComponent
178
  },
179
  {
180
    path: '403',
181
    component: ErrorPageComponent
182
  },
183
  {
184
    path: '**',
185
    component: SearchResultComponent
186
  }
187
]

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.