update avatar
This commit is contained in:
parent
906f0d8d74
commit
33cedf924e
|
@ -5,7 +5,7 @@
|
||||||
<link rel="icon" type="image/svg+xml" href="https://cdn.nofated.win/mc" />
|
<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" /> -->
|
<!-- <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> -->
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Amane's Intro</title>
|
<title>𝔸𝕞𝕒𝕟𝕖'𝕤 𝕀𝕟𝕥𝕣𝕠</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="root"></div>
|
<div id="root"></div>
|
||||||
|
|
|
@ -9,7 +9,7 @@ const { CacheFirst, NetworkFirst, NetworkOnly, StaleWhileRevalidate } = strategi
|
||||||
const { ExpirationPlugin } = expiration;
|
const { ExpirationPlugin } = expiration;
|
||||||
const { CacheableResponsePlugin } = cacheableResponse;
|
const { CacheableResponsePlugin } = cacheableResponse;
|
||||||
|
|
||||||
const cacheSuffixVersion = '-2311201a',
|
const cacheSuffixVersion = '-240101a',
|
||||||
// precacheCacheName = core.cacheNames.precache,
|
// precacheCacheName = core.cacheNames.precache,
|
||||||
// runtimeCacheName = core.cacheNames.runtime,
|
// runtimeCacheName = core.cacheNames.runtime,
|
||||||
maxEntries = 100;
|
maxEntries = 100;
|
||||||
|
@ -35,7 +35,7 @@ core.clientsClaim();
|
||||||
precaching.cleanupOutdatedCaches();
|
precaching.cleanupOutdatedCaches();
|
||||||
|
|
||||||
routing.registerRoute(
|
routing.registerRoute(
|
||||||
/.*xgjalbum\.oss-cn-hangzhou\.aliyuncs\.com/,
|
/.*cfdn\.nofated\.win/,
|
||||||
new CacheFirst({
|
new CacheFirst({
|
||||||
cacheName: 'static-immutable' + cacheSuffixVersion,
|
cacheName: 'static-immutable' + cacheSuffixVersion,
|
||||||
fetchOptions: {
|
fetchOptions: {
|
||||||
|
|
|
@ -84,7 +84,7 @@ export default function App() {
|
||||||
<Grid xs={"auto"}>
|
<Grid xs={"auto"}>
|
||||||
<Avatar
|
<Avatar
|
||||||
src={`https://cdn.nofated.win/avatarsoss`}
|
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'}
|
alt={'avatar'}
|
||||||
sx={{ width: 128, height: 128 }}
|
sx={{ width: 128, height: 128 }}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in New Issue