aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/app-routing.module.ts32
-rw-r--r--client/src/environments/environment.e2e.ts5
-rw-r--r--client/src/environments/environment.hmr.ts5
-rw-r--r--client/src/environments/environment.ts2
4 files changed, 27 insertions, 17 deletions
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts
index 936912d28..46e108cc7 100644
--- a/client/src/app/app-routing.module.ts
+++ b/client/src/app/app-routing.module.ts
@@ -4,22 +4,22 @@ import { RouterModule, Routes } from '@angular/router'
4import { PreloadSelectedModulesList } from './core' 4import { PreloadSelectedModulesList } from './core'
5 5
6const routes: Routes = [ 6const routes: Routes = [
7 { 7 // {
8 path: 'admin', 8 // path: 'admin',
9 loadChildren: './+admin/admin.module#AdminModule' 9 // loadChildren: './+admin/admin.module#AdminModule'
10 }, 10 // },
11 { 11 // {
12 path: 'my-account', 12 // path: 'my-account',
13 loadChildren: './+my-account/my-account.module#MyAccountModule' 13 // loadChildren: './+my-account/my-account.module#MyAccountModule'
14 }, 14 // },
15 { 15 // {
16 path: 'accounts', 16 // path: 'accounts',
17 loadChildren: './+accounts/accounts.module#AccountsModule' 17 // loadChildren: './+accounts/accounts.module#AccountsModule'
18 }, 18 // },
19 { 19 // {
20 path: 'video-channels', 20 // path: 'video-channels',
21 loadChildren: './+video-channels/video-channels.module#VideoChannelsModule' 21 // loadChildren: './+video-channels/video-channels.module#VideoChannelsModule'
22 } 22 // }
23] 23]
24 24
25@NgModule({ 25@NgModule({
diff --git a/client/src/environments/environment.e2e.ts b/client/src/environments/environment.e2e.ts
new file mode 100644
index 000000000..7c00e8d4f
--- /dev/null
+++ b/client/src/environments/environment.e2e.ts
@@ -0,0 +1,5 @@
1export const environment = {
2 production: false,
3 hmr: false,
4 apiUrl: 'http://localhost:9001'
5}
diff --git a/client/src/environments/environment.hmr.ts b/client/src/environments/environment.hmr.ts
new file mode 100644
index 000000000..20e2b8fcd
--- /dev/null
+++ b/client/src/environments/environment.hmr.ts
@@ -0,0 +1,5 @@
1export const environment = {
2 production: false,
3 hmr: true,
4 apiUrl: 'http://localhost:9000'
5}
diff --git a/client/src/environments/environment.ts b/client/src/environments/environment.ts
index 364da6745..5bb6f4b34 100644
--- a/client/src/environments/environment.ts
+++ b/client/src/environments/environment.ts
@@ -4,6 +4,6 @@
4 4
5export const environment = { 5export const environment = {
6 production: false, 6 production: false,
7 hmr: true, 7 hmr: false,
8 apiUrl: 'http://localhost:9000' 8 apiUrl: 'http://localhost:9000'
9} 9}