Hey all-
I’m just looking into this more. First, I am running Chrome Version 106.0.5249.61
and was running some 101 variant until recently. I have not encountered any issues with our FA development environment.
That said, I was going through the suggested steps and I noticed that the instructions specify to add
app.use(function (req, res, next) {
if (req.headers["access-control-request-private-network"]) {
res.setHeader("access-control-allow-private-network", "true");
}
next(null);
});
before
app.use(morgan("tiny"));
My question is this: we use morgan
but not morgan("tiny")
app.use(
morgan(
":id :remote-addr :remote-user :method :url HTTP/:http-version :status :res[content-length] - :response-time ms",
{ stream: logger.stream }
)
);
is it still advised to add the suggested code before the use of morgan?
- Project name: scratchpay-payment-service
- Team name: all
- Environment name: Development
- Agent type & version: …
- Recent changes made on your end if any: none