diff --git a/index.html b/index.html
index ff7c5f3..00203a0 100644
--- a/index.html
+++ b/index.html
@@ -12,10 +12,6 @@
-
{
- const { pathname } = useRouter()
- const [loading, post] = useFetch(
- (): PResp<{ access_token: string; preview_url: string }> =>
- r.post("/fs/other", {
- path: pathname(),
- password: password(),
- method: "doc_preview",
- }),
- )
- const init = async () => {
- const resp = await post()
- handleResp(resp, (data) => {
- const docOptions = aliyun.config({
- mount: document.querySelector("#office-preview")!,
- url: data.preview_url,
- })
- docOptions.setToken({ token: data.access_token })
- })
- }
- init()
- return (
-
-
-
- )
-}
-
-export default AliDocPreview
diff --git a/src/pages/home/previews/index.ts b/src/pages/home/previews/index.ts
index 5f1f31b..94ac139 100644
--- a/src/pages/home/previews/index.ts
+++ b/src/pages/home/previews/index.ts
@@ -120,13 +120,6 @@ const previews: Preview[] = [
component: lazy(() => import("./heic")),
prior: true,
},
- {
- name: "Aliyun Office Previewer",
- exts: ["doc", "docx", "ppt", "pptx", "xls", "xlsx", "pdf"],
- provider: /^Aliyundrive(Share)?$/,
- component: lazy(() => import("./aliyun_office")),
- prior: true,
- },
{
name: "PDF Preview",
exts: ["pdf"],