diff --git a/client/src/App.vue b/client/src/App.vue index 39c0ada..4367496 100644 --- a/client/src/App.vue +++ b/client/src/App.vue @@ -140,7 +140,7 @@ console.log( █ ███ █ ██ █ ██ fuBlog ███████ - ██ █ ██ ${(appData.isProduction ? appData.appVersion ?? "‹unknown›" : "development version") + " "} + ██ █ ██ ${(appData.isProduction ? (appData.appVersion ?? "‹unknown›") : "development version") + " "} █ ███ █ ███████`, `color:#ff9c00;background:rgb(48, 48, 48);display:inline-block`, diff --git a/common/src/markdown-converter-common.ts b/common/src/markdown-converter-common.ts index da72dba..f2cf15e 100644 --- a/common/src/markdown-converter-common.ts +++ b/common/src/markdown-converter-common.ts @@ -59,7 +59,7 @@ export abstract class MarkdownConverter { private static getKrokiDiagramTypeFromMarkdownId(markdownId: string | undefined): KrokiDiagramType | undefined { return markdownId === undefined // ? undefined - : this.KROKI_SVG_DIAGRAM_TYPES.find((it) => it.markdownId === markdownId) ?? undefined; + : (this.KROKI_SVG_DIAGRAM_TYPES.find((it) => it.markdownId === markdownId) ?? undefined); } private static rendererExtension: MarkedExtension = { diff --git a/server/src/routes/auth.ts b/server/src/routes/auth.ts index 6023fd7..9fd3813 100644 --- a/server/src/routes/auth.ts +++ b/server/src/routes/auth.ts @@ -21,7 +21,7 @@ import { UserEntity } from "../entity/User.entity.js"; import { BadRequestError } from "../errors/BadRequestError.js"; import { ForbiddenError } from "../errors/ForbiddenError.js"; import logger from "../logger.js"; -import { authMiddleware, checkIdToken } from "../service/middleware/auth.js"; +import { checkIdToken } from "../service/middleware/auth.js"; import { OAuthSettings } from "../settings.js"; const router: Router = express.Router();