project init
This commit is contained in:
Executable
+15
@@ -0,0 +1,15 @@
|
||||
import { EggPlugin } from 'egg';
|
||||
|
||||
const plugin: EggPlugin = {
|
||||
static: true,
|
||||
cors: {
|
||||
enable: true,
|
||||
package: 'egg-cors',
|
||||
},
|
||||
redis: {
|
||||
enable: true,
|
||||
package: 'egg-redis',
|
||||
}
|
||||
};
|
||||
|
||||
export default plugin;
|
||||
Reference in New Issue
Block a user