Commit 393393e9 authored by Grant's avatar Grant
Browse files

add cors to /.well-known/com.sc07.fediverse-auth

parent 51bba826
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ app.use(
  }),
);

app.get("/.well-known/com.sc07.fediverse-auth", (req, res) => {
app.get("/.well-known/com.sc07.fediverse-auth", cors(), (req, res) => {
  res.json({
    registration: {
      mode: process.env.OIDC_REGISTRATION_TOKEN ? "private" : "public",