first commit
This commit is contained in:
21
apps/backend/medusa-config.ts
Normal file
21
apps/backend/medusa-config.ts
Normal file
@@ -0,0 +1,21 @@
|
||||
import { loadEnv, defineConfig } from '@medusajs/framework/utils'
|
||||
|
||||
loadEnv(process.env.NODE_ENV || 'development', process.cwd())
|
||||
|
||||
module.exports = defineConfig({
|
||||
projectConfig: {
|
||||
databaseUrl: process.env.DATABASE_URL,
|
||||
http: {
|
||||
storeCors: process.env.STORE_CORS!,
|
||||
adminCors: process.env.ADMIN_CORS!,
|
||||
authCors: process.env.AUTH_CORS!,
|
||||
jwtSecret: process.env.JWT_SECRET,
|
||||
cookieSecret: process.env.COOKIE_SECRET,
|
||||
}
|
||||
},
|
||||
modules: [
|
||||
{
|
||||
resolve: "./src/modules/inquiry",
|
||||
},
|
||||
],
|
||||
})
|
||||
Reference in New Issue
Block a user