refactor(lib): organize modules by feature

This commit is contained in:
2026-08-02 16:56:55 +07:00 Unverified
parent 6c3b1cab83
commit d513b47d09
58 changed files with 85 additions and 85 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
import { cookies } from "next/headers";
import { NextRequest, NextResponse } from "next/server";
import { requireAdmin } from "@/lib/auth";
import { requireAdmin } from "@/lib/auth/auth";
function escapeHtml(value: unknown) {
return String(value ?? "")
+1 -1
View File
@@ -1,7 +1,7 @@
import { randomBytes } from "node:crypto";
import { cookies } from "next/headers";
import { NextResponse } from "next/server";
import { requireAdmin } from "@/lib/auth";
import { requireAdmin } from "@/lib/auth/auth";
const COOKIE = "youtube-oauth-state";