mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 05:49:16 +01:00
refactor: 🚚 Rename @versia/kit to @versia-server/kit
This commit is contained in:
parent
3798e170d0
commit
1f03017327
182 changed files with 606 additions and 485 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import { ApiError } from "@versia/kit";
|
||||
import { config } from "@versia-server/config";
|
||||
import { ApiError } from "@versia-server/kit";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
|
||||
export const agentBans = createMiddleware(async (context, next) => {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { ApiError } from "@versia/kit";
|
||||
import { ApiError } from "@versia-server/kit";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
|
||||
export const boundaryCheck = createMiddleware(async (context, next) => {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { getLogger } from "@logtape/logtape";
|
||||
import { ApiError } from "@versia/kit";
|
||||
import { config } from "@versia-server/config";
|
||||
import { ApiError } from "@versia-server/kit";
|
||||
import type { SocketAddress } from "bun";
|
||||
import { createMiddleware } from "hono/factory";
|
||||
import { matches } from "ip-matching";
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import type { ApiError } from "@versia/kit";
|
||||
import type { ApiError } from "@versia-server/kit";
|
||||
import { env } from "bun";
|
||||
import type { MiddlewareHandler } from "hono";
|
||||
import { rateLimiter } from "hono-rate-limiter";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue