style: format

This commit is contained in:
codytseng 2025-11-07 10:54:04 +08:00
parent 9615a7e778
commit 0e550d2511
22 changed files with 52 additions and 38 deletions

View file

@ -6,7 +6,7 @@ export function useFetchWebMetadata(url: string) {
const [metadata, setMetadata] = useState<TWebMetadata>({})
const proxyServer = import.meta.env.VITE_PROXY_SERVER
if (proxyServer) {
url = `${proxyServer}/sites/${encodeURIComponent(url)}`
url = `${proxyServer}/sites/${encodeURIComponent(url)}`
}
useEffect(() => {