Bad nextjs! Bad! Stop caching >:(

This commit is contained in:
Gnarwhal 2024-10-05 20:06:36 +00:00
parent 2bac7f434e
commit 8d03b11181
Signed by: Gnarwhal
GPG key ID: 0989A73D8C421174

View file

@ -1,6 +1,9 @@
import { unstable_noStore as no_store } from 'next/cache';
import * as style from './page.css'; import * as style from './page.css';
export default function App() { export default function App() {
no_store();
const supports_repointing = process.env.ENABLE_REPOINTING == 'true'; const supports_repointing = process.env.ENABLE_REPOINTING == 'true';
return ( return (
<div className={style.center}> <div className={style.center}>