Files
ember-market-frontend/app/_document.tsx
g e10ad2835e Preload notification audio and add AudioPreloader component
Added an AudioPreloader React component to preload the /hohoho.mp3 audio file for notifications, and included it in the app layout. Also updated _document.tsx to add a preload link for the audio file. Added yt-dlp.exe binary to the repository.
2025-12-09 17:48:55 +00:00

15 lines
323 B
TypeScript

import { Html, Head, Main, NextScript } from "next/document";
export default function Document() {
return (
<Html lang="en">
<Head>
<link rel="preload" href="/hohoho.mp3" as="audio" type="audio/mpeg" />
</Head>
<body>
<Main />
<NextScript />
</body>
</Html>
);
}