Skip to content

Commit

Permalink
Add missing app.use
Browse files Browse the repository at this point in the history
  • Loading branch information
nd-novorender committed Dec 4, 2024
1 parent 59efdba commit 96893d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,8 @@ tokenRouter.use(
}),
);

app.use(tokenRouter);

app.use("/*", (_req, res, next) => {
res.header("Cross-Origin-Opener-Policy", "same-origin");
res.header("Cross-Origin-Embedder-Policy", "require-corp");
Expand Down

0 comments on commit 96893d6

Please sign in to comment.