Skip to content

Commit e81eb26

Browse files
committed
wip: save file changes for future investigations
1 parent 9da52e6 commit e81eb26

File tree

5 files changed

+7405
-16
lines changed

5 files changed

+7405
-16
lines changed

app-config.yaml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
app:
22
title: Scaffolded Backstage App
3-
baseUrl: http://localhost:3000
3+
baseUrl: http://localhost:8083/frontend
4+
listen:
5+
port: 3000
46

57
organization:
68
name: Coder
@@ -12,7 +14,7 @@ backend:
1214
# auth:
1315
# keys:
1416
# - secret: ${BACKEND_SECRET}
15-
baseUrl: http://localhost:7007
17+
baseUrl: http://localhost:8083/backend
1618
listen:
1719
port: 7007
1820
# Uncomment the following host directive to bind to specific interfaces
@@ -22,7 +24,7 @@ backend:
2224
# Content-Security-Policy directives follow the Helmet format: https://helmetjs.github.io/#reference
2325
# Default Helmet Content-Security-Policy values can be removed by setting the key to false
2426
cors:
25-
origin: http://localhost:3000
27+
origin: http://localhost:8083
2628
methods: [GET, HEAD, PATCH, POST, PUT, DELETE]
2729
credentials: true
2830
# This is for local development only, it is not recommended to use this in production
@@ -50,9 +52,11 @@ integrations:
5052
proxy:
5153
endpoints:
5254
'/coder':
53-
target: 'https://dev.coder.com/'
55+
pathRewrite:
56+
'^/api/proxy/coder/': '/'
57+
target: 'http://localhost:3005'
5458
changeOrigin: true
55-
allowedMethods: ['GET']
59+
allowedMethods: ['GET', 'POST', 'PATCH', 'PUT', 'DELETE']
5660
allowedHeaders: ['Authorization', 'Coder-Session-Token']
5761
headers:
5862
X-Custom-Source: backstage

0 commit comments

Comments
 (0)