Merge pull request #15149 from backstage/rugvip/comments

create-app: comment out the default test proxy endpoint
This commit is contained in:
Johan Haals
2022-12-12 11:21:06 +01:00
committed by GitHub
2 changed files with 10 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/create-app': patch
---
Updated the template to have the `'/test'` proxy endpoint in `app-config.yaml` be commented out by default.
@@ -46,9 +46,11 @@ integrations:
# token: ${GHE_TOKEN}
proxy:
'/test':
target: 'https://example.com'
changeOrigin: true
### Example for how to add a proxy endpoint for the frontend.
### A typical reason to do this is to handle HTTPS and CORS for internal services.
# '/test':
# target: 'https://example.com'
# changeOrigin: true
# Reference documentation http://backstage.io/docs/features/techdocs/configuration
# Note: After experimenting with basic setup, use CI/CD to generate docs