Skip to content

Commit 48bd35c

Browse files
committed
Lint
Signed-off-by: Gabriel Costa <gabrielcg@proton.me>
1 parent 7eaea50 commit 48bd35c

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

server/src/plugins/static.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ export default fp(
6262
// Anything under these prefixes that reaches here is a genuinely
6363
// missing build artifact; everything else is a client-router path and
6464
// gets the SPA shell.
65-
const isKnownAssetPath = pathname.startsWith(ASSETS_URL_PREFIX) || pathname === "/favicon.ico";
65+
const isKnownAssetPath =
66+
pathname.startsWith(ASSETS_URL_PREFIX) || pathname === "/favicon.ico";
6667

6768
if (
6869
request.method !== "GET" ||

server/test/auth.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,9 @@ describe("POST /auth/logout", () => {
253253
});
254254

255255
expect(response.statusCode).toBe(200);
256-
const revokeCall = fetchCalls.find((call) => call.url === `${config.contextforgeUrl}/auth/logout`);
256+
const revokeCall = fetchCalls.find(
257+
(call) => call.url === `${config.contextforgeUrl}/auth/logout`,
258+
);
257259
expect(revokeCall).toBeTruthy();
258260
// The stored bearer token, minted at login — never a session/cookie value.
259261
expect(revokeCall?.authorization).toBe("Bearer upstream-jwt");

0 commit comments

Comments
 (0)