智能照明系统APP-本地串口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
LightingSystemApp-serial/.svn/pristine/b9/b954215bf1416dbf01310ddac59...

2 lines
600 B

"use strict";var _path=_interopRequireDefault(require("path")),_koaMount=_interopRequireDefault(require("koa-mount")),_config=_interopRequireDefault(require("@hap-toolkit/shared-utils/config")),_createPreview=_interopRequireDefault(require("./create-preview"));function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}async function beforeStart(e,t){const r=_path.default.resolve(_config.default.projectPath,_config.default.outputPath),u=await(0,_createPreview.default)(r);t.use((0,_koaMount.default)("/",u))}module.exports={beforeStart:beforeStart};
//# sourceMappingURL=index.js.map