fix: restore Next basePath with Caddy passthrough

This commit is contained in:
flym 2026-09-10 00:31:22 +08:00
parent 37164dd8ef
commit 187de3165b
2 changed files with 2 additions and 1 deletions

View File

@ -2,4 +2,5 @@ import { withPayload } from "@payloadcms/next/withPayload";
export default withPayload({ export default withPayload({
reactStrictMode: true, reactStrictMode: true,
basePath: "/cms",
}); });

View File

@ -2,7 +2,7 @@ https://192.168.199.22 {
tls internal tls internal
encode gzip encode gzip
handle_path /cms/* { handle /cms/* {
reverse_proxy 127.0.0.1:3001 reverse_proxy 127.0.0.1:3001
} }