react-native-get-pixel_edit/node_modules/@react-native-community/cli-server-api/build/statusPageMiddleware.js
2025-07-09 11:41:52 +09:00

23 lines
642 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.setHeader('X-React-Native-Project-Root', process.cwd());
res.end('packager-status:running');
}
//# sourceMappingURL=statusPageMiddleware.ts.map