1
1
app :
2
2
title : Scaffolded Backstage App
3
- baseUrl : http://localhost:3000
3
+ baseUrl : http://localhost:8083/frontend
4
+ listen :
5
+ port : 3000
4
6
5
7
organization :
6
8
name : Coder
@@ -12,7 +14,7 @@ backend:
12
14
# auth:
13
15
# keys:
14
16
# - secret: ${BACKEND_SECRET}
15
- baseUrl : http://localhost:7007
17
+ baseUrl : http://localhost:8083/backend
16
18
listen :
17
19
port : 7007
18
20
# Uncomment the following host directive to bind to specific interfaces
@@ -22,7 +24,7 @@ backend:
22
24
# Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
23
25
# Default Helmet Content-Security-Policy values can be removed by setting the key to false
24
26
cors :
25
- origin : http://localhost:3000
27
+ origin : http://localhost:8083
26
28
methods : [GET, HEAD, PATCH, POST, PUT, DELETE]
27
29
credentials : true
28
30
# This is for local development only, it is not recommended to use this in production
@@ -50,9 +52,11 @@ integrations:
50
52
proxy :
51
53
endpoints :
52
54
' /coder ' :
53
- target : ' https://dev.coder.com/'
55
+ pathRewrite :
56
+ ' ^/api/proxy/coder/ ' : ' /'
57
+ target : ' http://localhost:3005'
54
58
changeOrigin : true
55
- allowedMethods : ['GET']
59
+ allowedMethods : ['GET', 'POST', 'PATCH', 'PUT', 'DELETE' ]
56
60
allowedHeaders : ['Authorization', 'Coder-Session-Token']
57
61
headers :
58
62
X-Custom-Source : backstage
0 commit comments