feat: expose backend url in admin options (#7370)
This commit is contained in:
1 parent
028f63eb63
commit
c9bffdfecb
3 files changed
+8
-7
No files matched your search
@@ -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