For Ubuntu
- Log into server
- Package Upgrades
// src/lib/middleware.ts | |
import { randomUUID as uuid } from "crypto"; | |
import chalk from "chalk"; | |
import { NextFetchEvent, NextRequest, NextResponse } from "next/server"; | |
import { ZodError } from "zod"; | |
export type MaybePromise<T> = T | Promise<T>; | |
export type FetchRequestHandler = ( | |
req: Request | NextRequest, |
{ | |
email [email protected] | |
} | |
https://example.com { | |
encode gzip | |
# Proxy API requests to the backend server | |
handle /api/* { |