fixed ui environment vars issue

This commit is contained in:
lotte
2020-05-15 17:27:02 +02:00
committed by Art Lowel
parent 780b8b7db9
commit e4a83f0704
4 changed files with 150 additions and 75 deletions

8
scripts/serve.ts Normal file
View File

@@ -0,0 +1,8 @@
import { environment } from '../src/environments/environment';
import * as child from 'child_process';
child.spawn(
`ng serve --host ${environment.ui.host} --port ${environment.ui.port} --servePath ${environment.ui.nameSpace} --ssl ${environment.ui.ssl}`,
{ stdio:'inherit', shell: true }
);