I'm submitting a ...
[ ] bug report
[ ] feature request
[X ] question
I've got stuck by this question all day.
Hope someone can help me figure it out!
I run my ng2-admin server on port 3000, and I used Nginx to forward to it.
But I already got one service run on the root path (eg. https://ng2-admin/), so I try to change the redirection path (eg. https://ng2-admin/xxxx/).
So is there any way that I can change the whole project root path to /xxxx???
Thanks!!!
edit the config/webpack.common.js file:
const METADATA = {
title: 'ng2-admin - Angular 2 Admin Template',
description: 'Free Angular 2 and Bootstrap 4 Admin Template',
baseUrl: '/',
isDevServer: helpers.isWebpackDevServer()
};
change baseUrl to /xxxx/
const METADATA = {
title: 'ng2-admin - Angular 2 Admin Template',
description: 'Free Angular 2 and Bootstrap 4 Admin Template',
baseUrl: '/xxxx/',
isDevServer: helpers.isWebpackDevServer()
};
The config is no longer available, how to change it with latest version?
Most helpful comment
The config is no longer available, how to change it with latest version?