Skip to content

Commit 8442f8b

Browse files
committed
Change base url to "./" instead of "/"
1 parent 6ab2670 commit 8442f8b

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

config/build-utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const helpers = require('./helpers');
55

66
const DEFAULT_METADATA = {
77
title: 'RackHD Web UI 2.0',
8-
baseUrl: '/',
8+
baseUrl: './',
99
isDevServer: helpers.isWebpackDevServer(),
1010
HMR: helpers.hasProcessFlag('hot'),
1111
AOT: process.env.BUILD_AOT || helpers.hasNpmFlag('aot'),

src/app/app.routes.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,6 @@ import { NoContentComponent } from './no-content/no-content.component';
88
* route after '' will be denied. Cause angular will regard all routes as '' children
99
*/
1010
export const ROUTES: Routes = [
11-
/**
12-
* @description Four first-level routings
13-
* @date 2018-02-07 18:52:36
14-
15-
*/
16-
// {path: '', redirectTo: 'ui/managementCenter', pathMatch: 'full'},
17-
// {
18-
// path: 'managementCenter',
19-
// loadChildren: 'app/management-center/management-center.module#ManagementCenterModule',
20-
// },
21-
// {
22-
// path: 'ui/workflowCenter',
23-
// loadChildren: 'app/workflow-center/workflow-center.module#WorkflowCenterModule',
24-
// },
25-
// {
26-
// path: 'ui/solutionCenter',
27-
// loadChildren: 'app/solution-center/solution-center.module#SolutionCenterModule',
28-
// },
2911
{path: '', redirectTo: '/managementCenter/nodes', pathMatch: 'full'},
3012
{
3113
path: 'managementCenter',

0 commit comments

Comments
 (0)