Quellcode durchsuchen

🚧 disable proxy on production

jmacura vor 3 Jahren
Ursprung
Commit
a1181dfc3c
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      src/app/app.component.ts

+ 1 - 1
src/app/app.component.ts

@@ -99,7 +99,7 @@ export class AppComponent {
       proxyPrefix: window.location.hostname.includes('localhost')
         ? `${window.location.protocol}//${window.location.hostname}:8085/`
         : '/proxy/',
-      //useProxy: false,
+      useProxy: window.location.hostname.includes('localhost') ? true : false,
       panelsEnabled: {
         composition_browser: false,
         info: false,