update avatar

This commit is contained in:
Nofated095 2024-01-06 15:25:15 +08:00
parent 906f0d8d74
commit 33cedf924e
3 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="https://cdn.nofated.win/mc" />
<!-- <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Amane's Intro</title>
<title>𝔸𝕞𝕒𝕟𝕖'𝕤 𝕀𝕟𝕥𝕣𝕠</title>
</head>
<body>
<div id="root"></div>

View File

@ -9,7 +9,7 @@ const { CacheFirst, NetworkFirst, NetworkOnly, StaleWhileRevalidate } = strategi
const { ExpirationPlugin } = expiration;
const { CacheableResponsePlugin } = cacheableResponse;
const cacheSuffixVersion = '-2311201a',
const cacheSuffixVersion = '-240101a',
// precacheCacheName = core.cacheNames.precache,
// runtimeCacheName = core.cacheNames.runtime,
maxEntries = 100;
@ -35,7 +35,7 @@ core.clientsClaim();
precaching.cleanupOutdatedCaches();
routing.registerRoute(
/.*xgjalbum\.oss-cn-hangzhou\.aliyuncs\.com/,
/.*cfdn\.nofated\.win/,
new CacheFirst({
cacheName: 'static-immutable' + cacheSuffixVersion,
fetchOptions: {

View File

@ -84,7 +84,7 @@ export default function App() {
<Grid xs={"auto"}>
<Avatar
src={`https://cdn.nofated.win/avatarsoss`}
srcSet={`https://xgjalbum.oss-cn-hangzhou.aliyuncs.com/623fec2f97df7d3eee768933/AC1BFF0F-E891-41D0-8BB7-08C4DDB70CA9.png?x-oss-process=image/resize,m_fill,h_256,w_256,limit_0/format,webp`}
srcSet={`https://cfdn.nofated.win/avatars/avatar.webp`}
alt={'avatar'}
sx={{ width: 128, height: 128 }}
/>