docs: fix production build error (#6170)
Fix build error in production due to incorrect link
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user