更新代理配置从自定义代理服务改为使用 allorigins.win 服务,并相应修改代理请求处理逻辑。当代理请求失败时,自动回退到直接请求方式。同时移除了未使用的 Google AdSense 脚本。
46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<link rel="icon" href="/favicon.ico" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>PixivNow</title>
|
|
|
|
<!-- Google tag (gtag.js) -->
|
|
<!-- <script
|
|
async
|
|
src="https://www.googletagmanager.com/gtag/js?id=%VITE_GOOGLE_ANALYTICS_ID%"
|
|
></script>
|
|
<script>
|
|
window.dataLayer = window.dataLayer || []
|
|
function gtag() {
|
|
dataLayer.push(arguments)
|
|
}
|
|
gtag('js', new Date())
|
|
gtag('config', '%VITE_GOOGLE_ANALYTICS_ID%')
|
|
</script> -->
|
|
<!-- Umami Analytics -->
|
|
<script defer src="https://cloud.umami.is/script.js" data-website-id="842d980c-5e11-4834-a2a8-5daaa285ce66"></script>
|
|
<!-- Google Search Console -->
|
|
<meta
|
|
name="google-site-verification"
|
|
content="%VITE_GOOGLE_SEARCH_CONSOLE_VERIFICATION%"
|
|
/>
|
|
<!-- Google AdSense -->
|
|
<!-- <script
|
|
async
|
|
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=%VITE_ADSENSE_PUB_ID%"
|
|
crossorigin="anonymous"
|
|
></script> -->
|
|
<!-- jQuery -->
|
|
<!-- <script src="https://unpkg.com/jquery@3.7.1/dist/jquery.js"></script> -->
|
|
</head>
|
|
<body>
|
|
<noscript>
|
|
This site requires JavaScript enabled. Please check your browser settings.
|
|
</noscript>
|
|
<div id="app"></div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|