fix(medusa,admin-ui): Remove forced backendUrl in development, and allow alternative host value. (#7128)
This commit is contained in:
1 parent
10e120062b
commit
40686ba980
4 files changed
+27
-11
No files matched your search
@@ -76,9 +76,7 @@ export default async function ({ port, directory }) {
|
||||
const { cli, binExists } = resolveAdminCLI()
|
||||
|
||||
if (binExists) {
|
||||
const backendUrl = `http://localhost:${port}`
|
||||
|
||||
const adminChild = fork(cli, [`develop`, "--backend", `${backendUrl}`], {
|
||||
const adminChild = fork(cli, [`develop`], {
|
||||
cwd: directory,
|
||||
env: process.env,
|
||||
stdio: ["pipe", process.stdout, process.stderr, "ipc"],
|
||||
|
||||
Reference in new issue
Block a user