]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/environments/environment.ts
Translated using Weblate (Vietnamese)
[github/Chocobozzz/PeerTube.git] / client / src / environments / environment.ts
index 5bb6f4b3446fecce885eb6187219f5e7e7aa9ea2..5d7011265bfd1a7cb686b92abdd73f74042e7678 100644 (file)
@@ -2,8 +2,15 @@
 // `ng build --env=prod` then `environment.prod.ts` will be used instead.
 // The list of which env maps to which file can be found in `.angular-cli.json`.
 
+// Reflect.metadata polyfill is only needed in the JIT/dev mode.
+//
+// In order to load these polyfills early enough (before app code), polyfill.ts imports this file to
+// to change the order in the final bundle.
+import 'core-js/features/reflect'
+
 export const environment = {
-  production: false,
+  production: true,
   hmr: false,
-  apiUrl: 'http://localhost:9000'
+  apiUrl: '',
+  originServerUrl: ''
 }