Skip to content

Commit e689bff

Browse files
committed
Update README.md to include backend reading allowlist
1 parent bbd05fa commit e689bff

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

  • plugins/catalog-backend-module-bc-data-catalogue

plugins/catalog-backend-module-bc-data-catalogue/README.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,18 @@ const backend = createBackend();
4848
+ backend.add(import('@bcgov/plugin-catalog-backend-module-bc-data-catalogue'));
4949
5050
backend.start();
51-
```
51+
```
52+
53+
### Configure backend reading allowlist
54+
55+
Add the following configuration to your `app-config.yaml` to allow the backend to access the BC Data Catalogue API:
56+
57+
```
58+
backend:
59+
reading:
60+
allow:
61+
- host: catalogue.data.gov.bc.ca
62+
scheme: https
63+
```
64+
65+
**Note:** Additional hosts may be required depending what resources are being loaded. See https://github.com/bcgov/csit-backstage-poc/blob/main/app-config.yaml for example.

0 commit comments

Comments
 (0)