fix: Default to a relative path for the admin backend URL (#9947)

This commit is contained in:
Stevche Radevski
2024-11-06 15:08:38 +01:00
committed by GitHub
parent 4f4b0ddda2
commit b3cbc160eb
7 changed files with 19 additions and 11 deletions

View File

@@ -72,7 +72,7 @@ export type AdminOptions = {
*/
outDir?: string
/**
* The URL of your Medusa application. This is useful to set when you deploy the Medusa application.
* The URL of your Medusa application. Defaults to the browser origin. This is useful to set when running the admin on a separate domain.
*
* @example
* ```ts title="medusa-config.ts"