添加后台连接用的后端

This commit is contained in:
luying
2020-09-22 11:09:15 +08:00
parent 6e891ec756
commit bcbed5959f
48 changed files with 14845 additions and 2076 deletions

View File

@@ -0,0 +1,20 @@
import { EggPlugin } from 'egg';
import 'tsconfig-paths/register';
const plugin: EggPlugin = {
// static: true,
// nunjucks: {
// enable: true,
// package: 'egg-view-nunjucks',
// },
cors: {
enable: true,
package: 'egg-cors',
},
alinode: {
enable: true,
package: 'egg-alinode',
},
};
export default plugin;