Force hacker manual to reload
ci/woodpecker/push/woodpecker Pipeline was successful Podrobnosti

This commit is contained in:
tree 2022-10-31 06:46:15 +01:00
rodič fbe43da8b0
revize 3f48b3c9fe
1 změnil soubory, kde provedl 1 přidání a 1 odebrání

Zobrazit soubor

@ -4,7 +4,7 @@ import { marked } from 'marked';
marked.setOptions({ gfm: true });
export async function load({ fetch }) {
const response = await fetch(`${base}/hacker-manual.md`).then((r) => r.text());
const response = await fetch(`${base}/hacker-manual.md?${Date.now()}`).then((r) => r.text());
const compiledResponse = await marked.parse(response);
return { content: compiledResponse };