docs: restructure api-reference to allow base path (#7954)

This commit is contained in:
Shahed Nasser
2024-07-04 16:12:02 +00:00
committed by GitHub
parent 94e5feeb3d
commit 92dd855290
16 changed files with 99 additions and 80 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import bundleAnalyzer from "@next/bundle-analyzer"
/** @type {import('next').NextConfig} */
const nextConfig = {
// basePath: process.env.NEXT_PUBLIC_BASE_PATH || "/v2",
basePath: process.env.NEXT_PUBLIC_BASE_PATH || "/v2/api",
async rewrites() {
return {
fallback: [