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> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> <link
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> rel="icon"
<title>Vite + React</title> 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> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div> <div id="root"></div>
<script type="module" src="/src/main.jsx"></script> <script type="module" src="/src/main.jsx"></script>
</body> </body>

View File

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

View File

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