Merge branch 'main' of github.com:BramSuurdje/proxmox-helper-scripts

This commit is contained in:
Bram Suurd
2024-08-26 01:20:07 +02:00
4 changed files with 0 additions and 8 deletions

View File

@@ -2,8 +2,6 @@ import { NextResponse } from "next/server";
import { pb } from "@/lib/pocketbase";
import { Category } from "@/lib/types";
export const dynamic = "force-dynamic";
export async function GET() {
try {
const response = await pb.collection("categories").getFullList<Category>({

View File

@@ -2,8 +2,6 @@ import { NextRequest, NextResponse } from "next/server";
import { pb } from "@/lib/pocketbase";
import { Script } from "@/lib/types";
export const dynamic = "force-dynamic";
export async function GET(req: NextRequest) {
const page = parseInt(req.nextUrl.searchParams.get("page") || "1", 10);

View File

@@ -2,8 +2,6 @@ import { NextRequest, NextResponse } from "next/server";
import { pb } from "@/lib/pocketbase";
import { Script } from "@/lib/types";
export const dynamic = "force-dynamic";
export async function GET(req: NextRequest) {
try {
const response = await pb

View File

@@ -2,8 +2,6 @@ import { NextRequest, NextResponse } from "next/server";
import { pb } from "@/lib/pocketbase";
import { Script } from "@/lib/types";
export const dynamic = "force-dynamic";
export async function GET(req: NextRequest) {
const { searchParams } = new URL(req.url);
const title = searchParams.get("title");