aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorJan Keromnes <jan.keromnes@typefox.io>2019-01-30 08:39:42 +0000
committerChocobozzz <chocobozzz@cpy.re>2019-04-12 09:25:43 +0200
commit0cfcbae8189353a1ad29bafbd520e6965290f367 (patch)
tree05b3a7c612c2fb8b7be7fc87dc4439b00b4bf6fd /client
parentcda03765fe366f028897e9b02dd4a0a19af3c935 (diff)
downloadPeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.tar.gz
PeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.tar.zst
PeerTube-0cfcbae8189353a1ad29bafbd520e6965290f367.zip
Add automated dev setup using Gitpod
Diffstat (limited to 'client')
-rw-r--r--client/proxy.config.json10
-rw-r--r--client/src/environments/environment.hmr.ts2
2 files changed, 11 insertions, 1 deletions
diff --git a/client/proxy.config.json b/client/proxy.config.json
new file mode 100644
index 000000000..d1f393672
--- /dev/null
+++ b/client/proxy.config.json
@@ -0,0 +1,10 @@
1{
2 "/api": {
3 "target": "http://localhost:9000",
4 "secure": false
5 },
6 "/static": {
7 "target": "http://localhost:9000",
8 "secure": false
9 }
10}
diff --git a/client/src/environments/environment.hmr.ts b/client/src/environments/environment.hmr.ts
index 20e2b8fcd..853e20803 100644
--- a/client/src/environments/environment.hmr.ts
+++ b/client/src/environments/environment.hmr.ts
@@ -1,5 +1,5 @@
1export const environment = { 1export const environment = {
2 production: false, 2 production: false,
3 hmr: true, 3 hmr: true,
4 apiUrl: 'http://localhost:9000' 4 apiUrl: ''
5} 5}