mirror of
https://github.com/safing/portmaster
synced 2025-09-01 10:09:11 +00:00
Refactor: Edit build command to match angular.json
The current advised build command does not export the correct environment, resulting in a developer environment being exported, even at production-level. This causes an issue when we start accessing the web server from a hostname that is not localhost, where the websocket cannot establish a connection to 127.0.0.1 instead of window.location.host
This commit is contained in:
parent
6090518124
commit
ae09c33337
1 changed files with 1 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
||||||
// This file can be replaced during build by using the `fileReplacements` array.
|
// This file can be replaced during build by using the `fileReplacements` array.
|
||||||
// `ng build --prod` replaces `environment.ts` with `environment.prod.ts`.
|
// `ng build --configuration=production` replaces `environment.ts` with `environment.prod.ts`.
|
||||||
// The list of file replacements can be found in `angular.json`.
|
// The list of file replacements can be found in `angular.json`.
|
||||||
|
|
||||||
export const environment = {
|
export const environment = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue