diff options
author | Puyodead1 <puyodead@proton.me> | 2023-03-18 19:50:38 -0400 |
---|---|---|
committer | Puyodead1 <puyodead@proton.me> | 2023-03-18 19:50:38 -0400 |
commit | 5a7765c7dc6e0ee5c873625ef76b0ee9c4e12300 (patch) | |
tree | 576300cd87a4a84acf5580f412e49095eda071fb /src/api | |
parent | fix a few linting errors (diff) | |
download | server-5a7765c7dc6e0ee5c873625ef76b0ee9c4e12300.tar.xz |
prettier
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/Server.ts | 2 | ||||
-rw-r--r-- | src/api/middlewares/Authentication.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/api/Server.ts b/src/api/Server.ts index dc3b66ef..30f02e57 100644 --- a/src/api/Server.ts +++ b/src/api/Server.ts @@ -26,7 +26,7 @@ import { Sentry, WebAuthn, ConnectionConfig, - ConnectionLoader + ConnectionLoader, } from "@fosscord/util"; import { Request, Response, Router } from "express"; import { Server, ServerOptions } from "lambert-server"; diff --git a/src/api/middlewares/Authentication.ts b/src/api/middlewares/Authentication.ts index 55527984..7f008a39 100644 --- a/src/api/middlewares/Authentication.ts +++ b/src/api/middlewares/Authentication.ts @@ -53,7 +53,7 @@ export const NO_AUTHORIZATION_ROUTES = [ // Asset delivery /\/guilds\/\d+\/widget\.(json|png)/, // Connections - /\/connections\/\w+\/callback/ + /\/connections\/\w+\/callback/, ]; export const API_PREFIX = /^\/api(\/v\d+)?/; |