Minor improvements

This commit is contained in:
Tom Butcher 2025-03-26 00:29:47 +00:00
parent f6f716d346
commit a55c0575fe
3 changed files with 28 additions and 14 deletions

View File

@ -1,12 +1,26 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
<meta charset="utf-8" />
<link
rel="icon"
href="https://cdn.tombutcher.work/favicon/favicon.ico"
/>
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover"
/>
<meta name="description" content="Tom Butcher's Personal Website" />
<link
rel="apple-touch-icon"
href="https://cdn.tombutcher.work/favicon/favicon192.png"
/>
<link rel="manifest" href="/manifest.json" />
<title>TOM BUTCHER</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/main.jsx"></script>
</body>

View File

@ -1,14 +1,14 @@
{
"short_name": "TomButcher",
"short_name": "Tom Butcher",
"name": "TOM BUTCHER",
"icons": [
{
"src": "favicon192.png",
"src": "https://cdn.tombutcher.work/favicon/favicon192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "favicon512.png",
"src": "https://cdn.tombutcher.work/favicon/favicon512.png",
"type": "image/png",
"sizes": "512x512"
}

View File

@ -14,7 +14,7 @@ const CacheReloadView = () => {
const reloadCache = async () => {
try {
const response = await fetch(
"http://192.168.68.53:8787/api/utils/cache",
"https://web.tombutcher.work/api/utils/cache",
{ method: "POST" },
);
if (!response.ok) {