mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 15:17:23 +01:00
next.js 15 sync-dynamic-apis update
This commit is contained in:
parent
1c377bcdc3
commit
dfc13ced55
18 changed files with 71 additions and 19 deletions
|
|
@ -5,7 +5,9 @@ async function getEnabled() {
|
|||
return !!process.env.ENABLE_TEST_CONSOLE;
|
||||
}
|
||||
|
||||
export default async function ({ params: { websiteId } }) {
|
||||
export default async function ({ params }: { params: { websiteId: string } }) {
|
||||
const { websiteId } = await params;
|
||||
|
||||
const enabled = await getEnabled();
|
||||
|
||||
if (!enabled) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue