egg-born-module-a-base-sync
Advanced tools
Comparing version 1.2.12 to 1.2.13
@@ -22,2 +22,12 @@ const _modulesLocales = {}; | ||
get host() { | ||
const config = ctx.config.module(moduleInfo.relativeName); | ||
return config.host || ctx.host; | ||
} | ||
get protocol() { | ||
const config = ctx.config.module(moduleInfo.relativeName); | ||
return config.protocol || ctx.protocol; | ||
} | ||
modules() { | ||
@@ -24,0 +34,0 @@ if (!_modulesLocales[ctx.locale]) { |
{ | ||
"name": "egg-born-module-a-base-sync", | ||
"version": "1.2.12", | ||
"version": "1.2.13", | ||
"title": "Base", | ||
@@ -5,0 +5,0 @@ "eggBornModule": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
969194
14217