Bläddra i källkod

🚧 disable proxy on production

jmacura 3 år sedan
förälder
incheckning
a1181dfc3c
1 ändrade filer med 1 tillägg och 1 borttagningar
  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,