浏览代码

Add open option to admin plugin config

Rares Capilnar 2 年之前
父节点
当前提交
f72b91f1e5
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      medusa-config.js

+ 3 - 0
medusa-config.js

@@ -47,6 +47,9 @@ const plugins = [
     /** @type {import('@medusajs/admin').PluginOptions} */
     options: {
       autoRebuild: true,
+      develop: {
+        open: process.env.OPEN_BROWSER !== "false",
+      },
     },
   },
 ];