docs: new troubleshooting guide + cors fix (#6387)

- Fixed CORS middleware to account for routes of a single path (for example, `/custom` and not just `/custom/test`).
- Added a troubleshooting guide for admin webpack errors (see issue #6375)
This commit is contained in:
Shahed Nasser
2024-02-13 13:32:02 +02:00
committed by GitHub
parent 5ddae7ecd1
commit d1f697c88e
4 changed files with 98 additions and 2 deletions

View File

@@ -145,7 +145,7 @@ const plugins = [
product_created_template:
process.env.SENDGRID_ORDER_CREATED_ID,
my_custom_event_template:
process.env.SENDGRID_CUSTOM_EVENT_ID
process.env.SENDGRID_CUSTOM_EVENT_ID,
},
},
]