refactor(linktree) : use local pfp
This commit is contained in:
+2
-2
@@ -27,7 +27,7 @@ export default async function Home() {
|
||||
|
||||
// Use TikTok profile data with config fallbacks
|
||||
const profileName = tiktokProfile.displayName || config.profile.name;
|
||||
const profileAvatar = tiktokProfile.avatarUrl || config.profile.avatar;
|
||||
const profileAvatar = config.profile.avatar;
|
||||
|
||||
const links1 = [...config.links];
|
||||
|
||||
@@ -52,7 +52,7 @@ export default async function Home() {
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }}
|
||||
/>
|
||||
<video className="fixed top-0 left-0 w-full h-full -z-10 object-cover" autoPlay muted loop playsInline>
|
||||
<video className="fixed top-0 left-0 w-full h-full -z-10 object-cover" autoPlay muted loop playsInline preload="none">
|
||||
<source src="https://cdn.gunshiz.top/erika.mp4" media="(min-width: 768px)"></source>
|
||||
<source src="https://cdn.gunshiz.top/erika-mb.mp4" media="(max-width: 767px)"></source>
|
||||
</video>
|
||||
|
||||
@@ -38,6 +38,12 @@ http {
|
||||
resolver 127.0.0.11 valid=10s;
|
||||
set $upstream http://erika:3000;
|
||||
|
||||
# Fail fast and retry on another replica instead of hanging
|
||||
proxy_connect_timeout 3s;
|
||||
proxy_read_timeout 10s;
|
||||
proxy_send_timeout 10s;
|
||||
proxy_next_upstream error timeout;
|
||||
|
||||
# Bypass rate limit for static assets and Next.js internal files
|
||||
location /_next/static/ {
|
||||
proxy_pass $upstream;
|
||||
|
||||
Reference in New Issue
Block a user