feat: expose backend url in admin options (#7370)
This commit is contained in:
@@ -33,6 +33,10 @@ export type AdminOptions = {
|
||||
* The default value is `./build`.
|
||||
*/
|
||||
outDir?: string
|
||||
/**
|
||||
* The URL of your Medusa server. Defaults to an empty string, which means requests will hit the same server that serves the dashboard.
|
||||
*/
|
||||
backendUrl?: string
|
||||
/**
|
||||
* Configure the Vite configuration for the admin dashboard. This function receives the default Vite configuration
|
||||
* and returns the modified configuration. The default value is `undefined`.
|
||||
|
||||
Reference in New Issue
Block a user