fix: preserve cms base url after login
This commit is contained in:
parent
080af1151b
commit
57c854a3f2
@ -7,6 +7,7 @@ import { SiteSettings } from "./src/collections/SiteSettings.ts";
|
||||
import { Users } from "./src/collections/Users.ts";
|
||||
|
||||
export default buildConfig({
|
||||
serverURL: process.env.PAYLOAD_PUBLIC_SERVER_URL || "https://www.kaotings.com/cms",
|
||||
admin: { user: Users.slug },
|
||||
collections: [Users, Products, Media],
|
||||
globals: [SiteSettings, HomeContent],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user