add cache info buttons

This commit is contained in:
Lee
2024-04-19 21:19:14 +01:00
parent 2b6d8964b3
commit 97c1b88370
9 changed files with 122 additions and 9 deletions
package.jsonpnpm-lock.yaml
src/app
(pages)
mojang/status
player/[[...id]]
server/[platform]/[[...hostname]]
components

@ -12,6 +12,11 @@ import { CachedPlayer, getPlayer, McUtilsAPIError } from "mcutils-library";
import { Metadata, Viewport } from "next";
import { ReactElement } from "react";
/**
* Force the page to be dynamic, so it will be regenerated on every request
*/
export const revalidate = 0;
type Params = {
params: {
id: string;