use correct URL (#13360)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import Medusa from "@medusajs/js-sdk"
|
||||
|
||||
export const sdk = new Medusa({
|
||||
baseUrl: "/",
|
||||
baseUrl: __BACKEND_URL__ || "/",
|
||||
auth: {
|
||||
type: "session",
|
||||
},
|
||||
|
||||
1
packages/plugins/draft-order/src/admin/vite-env.d.ts
vendored
Normal file
1
packages/plugins/draft-order/src/admin/vite-env.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
declare const __BACKEND_URL__: string | undefined
|
||||
Reference in New Issue
Block a user