This commit is contained in:
ap 2021-02-28 22:32:00 +08:00
parent 79e87ebd1f
commit 4a71204aa3

4
bootstrap.js vendored
View File

@ -1,7 +1,7 @@
const WebFramework = require('@midwayjs/web').Framework; const WebFramework = require('@midwayjs/web').Framework;
const web = new WebFramework().configure({ const web = new WebFramework().configure({
port: 7001, port: 8001,
}); });
const { Bootstrap } = require('@midwayjs/bootstrap'); const { Bootstrap } = require('@midwayjs/bootstrap');
Bootstrap.load(web).run(); Bootstrap.load(web).run();