From 9a3326a56e1b1a779eee9c38474483a51da6a6d9 Mon Sep 17 00:00:00 2001 From: Shahed Nasser Date: Tue, 23 Jan 2024 10:19:25 +0200 Subject: [PATCH] docs: fix production build error (#6170) Fix build error in production due to incorrect link --- .../troubleshooting/create-medusa-app-errors/_forwarding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/apps/docs/content/troubleshooting/create-medusa-app-errors/_forwarding.md b/www/apps/docs/content/troubleshooting/create-medusa-app-errors/_forwarding.md index c6290d3861..1b0e3b6f03 100644 --- a/www/apps/docs/content/troubleshooting/create-medusa-app-errors/_forwarding.md +++ b/www/apps/docs/content/troubleshooting/create-medusa-app-errors/_forwarding.md @@ -4,7 +4,7 @@ If you're running the Medusa backend through tools like VSCode or GitHub Codespa 1. [VSCode local development.](https://code.visualstudio.com/docs/editor/port-forwarding) 2. [VSCode remote development.](https://code.visualstudio.com/docs/remote/ssh#_forwarding-a-port-creating-ssh-tunnel) 3. [GitHub Codespaces.](https://docs.github.com/en/codespaces/developing-in-a-codespace/forwarding-ports-in-your-codespace) -2. If your tool or IDE exposes an address other than `localhost`, such as `127.0.0.1`, make sure to add that address to the [admin_cors](../../development/backend/configurations.md#admin_cors-and-store_cors) Medusa configuration. Your tool will show you what the forwarded address is. +2. If your tool or IDE exposes an address other than `localhost`, such as `127.0.0.1`, make sure to add that address to the [admin_cors](../../references/medusa_config/interfaces/medusa_config.ConfigModule.mdx) Medusa configuration. Your tool will show you what the forwarded address is. After setting these configurations, run your Medusa backend and try again. If you couldn't create an admin user before, run the following command in the root directory of your Medusa project to create an admin user: