mirror of
https://github.com/OpenListTeam/OpenList-Frontend.git
synced 2026-03-13 11:20:24 +00:00
* Add `useCDN` hook for better management of CDN resources. * Bundle CDN resources (Monaco Editor, KaTeX, Mermaid, Ruffle, etc.) using `vite-plugin-static-copy` into the dist, which can be beneficial for environments with network problems. * Add `VITE_LITE` environment for conditional lite version compilation, removing the need for a separate lite branch. BREAKING CHANGE: The lite branch is no longer needed.
46 lines
1.4 KiB
HTML
46 lines
1.4 KiB
HTML
<!doctype html>
|
|
<html lang="en" translate="no">
|
|
<head>
|
|
<!-- customize head -->
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="referrer" content="same-origin" />
|
|
<meta name="generator" content="OpenList" />
|
|
<meta name="theme-color" content="#000000" />
|
|
<meta name="google" content="notranslate" />
|
|
<link href="/static/manifest.json" rel="manifest" />
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="apple-mobile-web-app-title" content="OpenList" />
|
|
<link
|
|
rel="apple-touch-icon"
|
|
href="https://cdn.oplist.org/gh/OpenListTeam/Logo@main/logo.png"
|
|
/>
|
|
<script
|
|
src="https://g.alicdn.com/IMM/office-js/1.1.5/aliyun-web-office-sdk.min.js"
|
|
async
|
|
></script>
|
|
<link
|
|
rel="shortcut icon"
|
|
type="image/ico"
|
|
href="https://cdn.oplist.org/gh/OpenListTeam/Logo@main/logo.svg"
|
|
/>
|
|
<title>Loading...</title>
|
|
<script>
|
|
window.OPENLIST_CONFIG = {
|
|
cdn: undefined,
|
|
base_path: undefined,
|
|
api: undefined,
|
|
main_color: undefined,
|
|
}
|
|
window.__dynamic_base__ = window.OPENLIST_CONFIG.cdn || ""
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<noscript>You need to enable JavaScript to run this app.</noscript>
|
|
<div id="root"></div>
|
|
|
|
<script src="/src/main.tsx" type="module"></script>
|
|
<!-- customize body -->
|
|
</body>
|
|
</html>
|