create-app: comment out the default test proxy endpoint

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-12-09 18:08:08 +01:00
parent dfd57a9a1d
commit dfb269fab2
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