fix(dashboard): use-backend-url-from-env in new client (#7256)

This commit is contained in:
Oli Juhl authored and GitHub committed 2024-05-06 18:35:18 +02:00
1 parent 9d0bfc2b39
commit aff1eac91c
1 file changed
+2 -1
@@ -1,6 +1,7 @@
import { stringify } from "qs"
const baseUrl = "http://localhost:9000"
const baseUrl =
import.meta.env.VITE_MEDUSA_ADMIN_BACKEND_URL || "http://localhost:9000"
const commonHeaders: HeadersInit = {
Accept: "application/json",