From 247bd87a44ca46b39376b3f74b51e581a025b0d1 Mon Sep 17 00:00:00 2001 From: Amritanshu Date: Mon, 14 Oct 2024 10:46:35 +0530 Subject: [PATCH] redis url --- medusa-config.js | 11 ++++++----- package.json | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/medusa-config.js b/medusa-config.js index eee7ce1..28a6192 100644 --- a/medusa-config.js +++ b/medusa-config.js @@ -1,6 +1,7 @@ -const { loadEnv, defineConfig } = require('@medusajs/framework/utils') +const { loadEnv, defineConfig } = require("@medusajs/framework/utils"); +const { Modules } = require("@medusajs/framework/utils"); -loadEnv(process.env.NODE_ENV, process.cwd()) +loadEnv(process.env.NODE_ENV, process.cwd()); module.exports = defineConfig({ projectConfig: { @@ -11,7 +12,7 @@ module.exports = defineConfig({ authCors: process.env.AUTH_CORS, jwtSecret: process.env.JWT_SECRET || "supersecret", cookieSecret: process.env.COOKIE_SECRET || "supersecret", - } + }, }, modules: { [Modules.CACHE]: { @@ -20,5 +21,5 @@ module.exports = defineConfig({ redisUrl: process.env.CACHE_REDIS_URL, }, }, - } -}) + }, +}); diff --git a/package.json b/package.json index 7cc63d4..94e70cb 100644 --- a/package.json +++ b/package.json @@ -53,4 +53,4 @@ "engines": { "node": ">=20" } -} \ No newline at end of file +}