amis-rpc-design/node_modules/@react-native-community/cli-server-api/build/statusPageMiddleware.js
2023-10-07 19:42:30 +08:00

22 lines
579 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.default = statusPageMiddleware;
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Status page so that anyone who needs to can verify that the packager is
* running on 8081 and not another program / service.
*/
function statusPageMiddleware(_req, res) {
res.end('packager-status:running');
}
//# sourceMappingURL=statusPageMiddleware.ts.map