mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: bind devapp to 0.0.0.0 (#10714)
This commit is contained in:
committed by
Jeremy Elbourn
parent
e3b0a9bc75
commit
7fb2f892b6
@@ -135,6 +135,7 @@ export function serverTask(packagePath: string, livereload = true) {
|
||||
root: projectDir,
|
||||
livereload: livereload,
|
||||
port: 4200,
|
||||
host: '0.0.0.0',
|
||||
middleware: () => {
|
||||
return [httpRewrite.getMiddleware([
|
||||
// Rewrite the node_modules/ and dist/ folder to the real paths. This is a trick to
|
||||
|
||||
Reference in New Issue
Block a user