log the json url for testing
This commit is contained in:
parent
33dce23415
commit
5b219a55b3
|
@ -169,6 +169,7 @@ const getNextCache = async (username: string, month: string): Promise<EventBusyD
|
|||
const { NEXT_PUBLIC_WEBAPP_URL, NODE_ENV } = process.env;
|
||||
const cacheDir = `${NODE_ENV === "development" ? NODE_ENV : process.env.BUILD_ID}`;
|
||||
const baseUrl = `${NEXT_PUBLIC_WEBAPP_URL}/_next/data/${cacheDir}/en`;
|
||||
console.log(`${baseUrl}/${username}/calendar-cache/${month}.json?user=${username}&month=${month}`);
|
||||
localCache = await fetch(
|
||||
`${baseUrl}/${username}/calendar-cache/${month}.json?user=${username}&month=${month}`
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue
Block a user