statusPageMiddleware.js 580 B

1234567891011121314151617181920212223
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", {
  3. value: true
  4. });
  5. exports.default = statusPageMiddleware;
  6. /**
  7. * Copyright (c) Facebook, Inc. and its affiliates.
  8. *
  9. * This source code is licensed under the MIT license found in the
  10. * LICENSE file in the root directory of this source tree.
  11. */
  12. /**
  13. * Status page so that anyone who needs to can verify that the packager is
  14. * running on 8081 and not another program / service.
  15. */
  16. function statusPageMiddleware(_req, res) {
  17. res.end('packager-status:running');
  18. }
  19. //# sourceMappingURL=statusPageMiddleware.js.map