mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 19:52:10 +08:00
23 lines
262 B
JavaScript
23 lines
262 B
JavaScript
'use strict';
|
|
|
|
/*
|
|
*Egg插件
|
|
*/
|
|
|
|
// jwt登录状态验证插件
|
|
exports.jwt = {
|
|
enable: true,
|
|
package: 'egg-jwt',
|
|
};
|
|
|
|
// 跨域插件
|
|
exports.cors = {
|
|
enable: true,
|
|
package: 'egg-cors',
|
|
};
|
|
|
|
exports.ejs = {
|
|
enable: true,
|
|
package: 'egg-view-ejs',
|
|
};
|