🎈 perf(启动): 本地不去读取屏蔽词库
This commit is contained in:
+2
-1
@@ -34,6 +34,7 @@ import { loadActivities } from './app/services/activity/activityRemoteService';
|
|||||||
import { checkAndSetApiIsClose } from './app/services/chatService';
|
import { checkAndSetApiIsClose } from './app/services/chatService';
|
||||||
import { initGuildActivityIndexInPinus, resetJoinWoodenHorse } from './app/services/guildActivity/guildActivityService';
|
import { initGuildActivityIndexInPinus, resetJoinWoodenHorse } from './app/services/guildActivity/guildActivityService';
|
||||||
import { setGVGConfig, setGVGServerGroup } from './app/services/gvg/gvgService';
|
import { setGVGConfig, setGVGServerGroup } from './app/services/gvg/gvgService';
|
||||||
|
import { isDevelopEnv } from './app/services/utilService';
|
||||||
|
|
||||||
const filePath = (_pinus as any).FILEPATH;
|
const filePath = (_pinus as any).FILEPATH;
|
||||||
filePath.MASTER = '/config/master';
|
filePath.MASTER = '/config/master';
|
||||||
@@ -182,7 +183,7 @@ async function treatStartLogic(app: _pinus.Application) {
|
|||||||
timeTaskService.init();
|
timeTaskService.init();
|
||||||
initGuildActivityIndexInPinus();
|
initGuildActivityIndexInPinus();
|
||||||
}
|
}
|
||||||
if(app.getServerType() == 'chat') {
|
if(app.getServerType() == 'chat' && !isDevelopEnv()) {
|
||||||
getTire();
|
getTire();
|
||||||
}
|
}
|
||||||
if(app.getServerType() == 'activity') {
|
if(app.getServerType() == 'activity') {
|
||||||
|
|||||||
Reference in New Issue
Block a user