aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/environments
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-12-11 17:36:46 +0100
committerChocobozzz <me@florianbigard.com>2017-12-12 10:58:16 +0100
commit63c4db6d71b98523753c51747e308682d9a2e8a0 (patch)
treed26c0d092ce016f2afe56bf71b08ca4698fe673f /client/src/environments
parent908f6e5e38e85cc0debab0051b7fa34b13025f96 (diff)
downloadPeerTube-63c4db6d71b98523753c51747e308682d9a2e8a0.tar.gz
PeerTube-63c4db6d71b98523753c51747e308682d9a2e8a0.tar.zst
PeerTube-63c4db6d71b98523753c51747e308682d9a2e8a0.zip
Move to angular cli
Diffstat (limited to 'client/src/environments')
-rw-r--r--client/src/environments/environment.prod.ts4
-rw-r--r--client/src/environments/environment.ts9
2 files changed, 13 insertions, 0 deletions
diff --git a/client/src/environments/environment.prod.ts b/client/src/environments/environment.prod.ts
new file mode 100644
index 000000000..c9f5a3b63
--- /dev/null
+++ b/client/src/environments/environment.prod.ts
@@ -0,0 +1,4 @@
1export const environment = {
2 production: true,
3 apiUrl: ''
4}
diff --git a/client/src/environments/environment.ts b/client/src/environments/environment.ts
new file mode 100644
index 000000000..43d788541
--- /dev/null
+++ b/client/src/environments/environment.ts
@@ -0,0 +1,9 @@
1// The file contents for the current environment will overwrite these during build.
2// The build system defaults to the dev environment which uses `environment.ts`, but if you do
3// `ng build --env=prod` then `environment.prod.ts` will be used instead.
4// The list of which env maps to which file can be found in `.angular-cli.json`.
5
6export const environment = {
7 production: false,
8 apiUrl: 'http://localhost:9000'
9}