Selaa lähdekoodia

revertt config

adrien2p 2 vuotta sitten
vanhempi
commit
1ea6986b0f
1 muutettua tiedostoa jossa 9 lisäystä ja 8 poistoa
  1. 9 8
      medusa-config.js

+ 9 - 8
medusa-config.js

@@ -28,7 +28,8 @@ const ADMIN_CORS =
 // CORS to avoid issues when consuming Medusa from a client
 const STORE_CORS = process.env.STORE_CORS || "http://localhost:8000";
 
-const DATABASE_URL="postgres://postgres@localhost:5432/medusa"
+const DATABASE_URL =
+  process.env.DATABASE_URL || "postgres://localhost/medusa-store";
 
 const REDIS_URL = process.env.REDIS_URL || "redis://localhost:6379";
 
@@ -42,13 +43,13 @@ const plugins = [
     },
   },
   // To enable the admin plugin, uncomment the following lines and run `yarn add @medusajs/admin`
-   {
-     resolve: "@medusajs/admin",
-     /** @type {import('@medusajs/admin').PluginOptions} */
-     options: {
-       autoRebuild: true,
-     },
-   },
+  // {
+  //   resolve: "@medusajs/admin",
+  //   /** @type {import('@medusajs/admin').PluginOptions} */
+  //   options: {
+  //     autoRebuild: true,
+  //   },
+  // },
 ];
 
 const modules = {