feat: limit config file edit to owner

This commit is contained in:
shinya
2025-08-15 12:39:26 +08:00
parent 394730327b
commit f52048ec2e
9 changed files with 66 additions and 26 deletions

View File

@@ -1,11 +1,11 @@
/* eslint-disable no-console */
/* eslint-disable no-console,@typescript-eslint/no-explicit-any */
import { NextRequest, NextResponse } from 'next/server';
import { getConfig, refineConfig } from '@/lib/config';
import { db, getStorage } from '@/lib/db';
import { fetchVideoDetail } from '@/lib/fetchVideoDetail';
import { SearchResult } from '@/lib/types';
import { getConfig, refineConfig } from '@/lib/config';
export const runtime = 'edge';