diff --git a/web/config.js b/web/config.js index e427ddc6..d43137f7 100644 --- a/web/config.js +++ b/web/config.js @@ -44,7 +44,13 @@ const product = { }, { entry: require('./client').entry,// 静态信息 opts: {} - }], + }, { + entry: require('./routes').entry, + opts: { + apiUrl: FS_UNIAPP_API, + staticRoot: './client', + } + },], logger: { level: 'debug', json: false,