Fixes #9830. Continuation of #9755 and #9746. Instead of automatically appending TLDs to the `admin.preview` and the `livePreview.url` URLs, we should instead ensure that `req` is passed through these functions, so that you can have full control over the format of this URL without Payload imposing any of its own formatting.
27 lines
626 B
TypeScript
27 lines
626 B
TypeScript
export const pagesSlug = 'pages'
|
|
export const tenantsSlug = 'tenants'
|
|
export const ssrPagesSlug = 'ssr'
|
|
export const ssrAutosavePagesSlug = 'ssr-autosave'
|
|
export const postsSlug = 'posts'
|
|
export const mediaSlug = 'media'
|
|
export const categoriesSlug = 'categories'
|
|
export const usersSlug = 'users'
|
|
|
|
export const mobileBreakpoint = {
|
|
label: 'Mobile',
|
|
name: 'mobile',
|
|
width: 375,
|
|
height: 667,
|
|
}
|
|
|
|
export const desktopBreakpoint = {
|
|
label: 'Desktop',
|
|
name: 'desktop',
|
|
width: 1920,
|
|
height: 1080,
|
|
}
|
|
|
|
export const renderedPageTitleID = 'rendered-page-title'
|
|
|
|
export const localizedPageTitleID = 'localized-page-title'
|