docs: document admin environment variables (#11313)

This commit is contained in:
Shahed Nasser authored and GitHub committed 2025-02-05 11:47:07 +02:00
1 parent 98236c8262
commit d348204fe5
12 files changed
+127 -22

No files matched your search

@@ -1454,8 +1454,8 @@ To configure the JS SDK, create the file `src/admin/lib/sdk.ts` with the followi
import Medusa from "@medusajs/js-sdk"
export const sdk = new Medusa({
baseUrl: "http://localhost:9000",
debug: process.env.NODE_ENV === "development",
baseUrl: import.meta.env.VITE_BACKEND_URL || "/",
debug: import.meta.env.DEV,
auth: {
type: "session",
},