Skip to content

Commit

Permalink
fix: adds build changes. not sure they are necessary. but still πŸ‘€
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergio committed Mar 23, 2023
1 parent 3c1b84f commit ad71f2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dist/api/HttpServer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"use strict";Object.defineProperty(exports, "__esModule", { value: true });exports.default = exports.HttpServer = void 0;var _http = _interopRequireDefault(require("http"));
var _express = _interopRequireDefault(require("express"));
var _cors = _interopRequireDefault(require("cors"));
var _api = _interopRequireDefault(require("./routes/api"));
var _doc = _interopRequireDefault(require("./routes/doc"));
var _config = _interopRequireDefault(require("../lib/config"));function _interopRequireDefault(obj) {return obj && obj.__esModule ? obj : { default: obj };}
Expand All @@ -8,6 +9,7 @@ const HttpServer = ({ api, status, log }, send) => {
const app = (0, _express.default)();
const httpServer = _http.default.Server(app);

app.use((0, _cors.default)());
app.set('etag', false);
app.set('x-powered-by', false);

Expand Down

0 comments on commit ad71f2e

Please sign in to comment.