From 2985905fb280510e10f32c71473bed6ebc6dd394 Mon Sep 17 00:00:00 2001 From: Steven Date: Wed, 9 Apr 2025 11:41:18 -0400 Subject: [PATCH] Add `/` to assetPrefix --- next.config.js | 1 + next.config.ts | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 4d3987d..61d26fa 100644 --- a/next.config.js +++ b/next.config.js @@ -1,6 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { basePath: '', + assetPrefix: '/', }; export default nextConfig; \ No newline at end of file diff --git a/next.config.ts b/next.config.ts index bb5b4ef..44970ed 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,7 +1,8 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { - basePath: '', + basePath: "", + assetPrefix: "/", }; export default nextConfig;