More cleanup

This commit is contained in:
Rory& 2025-07-27 15:42:54 +02:00
parent d5fa5b845f
commit 9d314cd995
4 changed files with 14 additions and 8 deletions

View File

@ -28,17 +28,21 @@ import {
initEvent,
registerRoutes,
} from "@spacebar/util";
import {
Authentication,
CORS,
ImageProxy,
BodyParser,
ErrorHandler,
initRateLimits,
initTranslation,
} from "./middlewares";
import { Request, Response, Router } from "express";
import { Server, ServerOptions } from "lambert-server";
import "missing-native-js-functions";
import morgan from "morgan";
import path from "path";
import { red } from "picocolors";
import { Authentication, CORS, ImageProxy } from "./middlewares/";
import { BodyParser } from "./middlewares/BodyParser";
import { ErrorHandler } from "./middlewares/ErrorHandler";
import { initRateLimits } from "./middlewares/RateLimit";
import { initTranslation } from "./middlewares/Translation";
import { initInstance } from "./util/handlers/Instance";
const PUBLIC_ASSETS_FOLDER = path.join(

View File

@ -20,5 +20,6 @@ export * from "./Authentication";
export * from "./BodyParser";
export * from "./CORS";
export * from "./ErrorHandler";
export * from "./RateLimit";
export * from "./ImageProxy";
export * from "./RateLimit";
export * from "./Translation";

View File

@ -1,4 +1,4 @@
import { KittyLogo } from "./KittyLogo";
import { KittyLogo } from ".";
import { blueBright } from "picocolors";
export class Logo {

View File

@ -30,6 +30,8 @@ export * from "./FieldError";
export * from "./Intents";
export * from "./InvisibleCharacters";
export * from "./JSON";
export * from "./KittyLogo";
export * from "./Logo";
export * from "./MessageFlags";
export * from "./Permissions";
export * from "./RabbitMQ";
@ -44,5 +46,4 @@ export * from "./WebAuthn";
export * from "./Url";
export * from "./Gifs";
export * from "./Application";
export * from "./Logo";
export * from "./NameValidation";