mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 18:12:22 +00:00
rm cache life in layout
This commit is contained in:
@@ -14,8 +14,6 @@ const lato = Lato({
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const revalidate = 60; // revalidate every minute
|
||||
|
||||
export default async function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
|
||||
@@ -41,10 +41,6 @@ import { unstable_cacheLife as cacheLife } from "next/cache";
|
||||
import { PROVIDER_MAPPING } from "./idp";
|
||||
|
||||
const SESSION_LIFETIME_S = 3600; // TODO load from oidc settings
|
||||
const CACHE_REVALIDATION_INTERVAL_IN_SECONDS = process.env
|
||||
.CACHE_REVALIDATION_INTERVAL_IN_SECONDS
|
||||
? Number(process.env.CACHE_REVALIDATION_INTERVAL_IN_SECONDS)
|
||||
: 3600;
|
||||
|
||||
const transport = createServerTransport(
|
||||
process.env.ZITADEL_SERVICE_USER_TOKEN!,
|
||||
|
||||
@@ -35,7 +35,7 @@ types.forEach((type) => {
|
||||
});
|
||||
|
||||
/** @type {import('tailwindcss').Config} */
|
||||
module.exports = {
|
||||
export default {
|
||||
presets: [sharedConfig],
|
||||
darkMode: "class",
|
||||
content: ["./src/**/*.{js,ts,jsx,tsx}"],
|
||||
|
||||
Reference in New Issue
Block a user