ソースを参照

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",
+      },
     },
   },
 ];