amis-rpc-design/node_modules/@react-native-community/cli-debugger-ui/build/middleware/index.js
2023-10-07 19:42:30 +08:00

28 lines
701 B
JavaScript

"use strict";
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.debuggerUIMiddleware = debuggerUIMiddleware;
function _serveStatic() {
const data = _interopRequireDefault(require("serve-static"));
_serveStatic = function () {
return data;
};
return data;
}
function _path() {
const data = _interopRequireDefault(require("path"));
_path = function () {
return data;
};
return data;
}
function debuggerUIMiddleware() {
return (0, _serveStatic().default)(_path().default.join(__dirname, '..', 'ui'), {
cacheControl: false
});
}
//# sourceMappingURL=index.ts.map