onlyoffice: fix external sign

This commit is contained in:
undefined committed 2024-10-13 10:36:20 +08:00
1 parent 3cd0105bbf
commit d795ab1807
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ class OnlyofficeJWTHandler extends Handler {
if (SystemModel.get('onlyoffice.externalSign')) { if (SystemModel.get('onlyoffice.externalSign')) {
const res = await superagent.get(SystemModel.get('onlyoffice.externalSign')).query({ url }); const res = await superagent.get(SystemModel.get('onlyoffice.externalSign')).query({ url });
this.response.body = res.body; this.response.body = res.body;
return;
} }
let path: string; let path: string;
try { try {
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "@hydrooj/onlyoffice", "name": "@hydrooj/onlyoffice",
"version": "1.4.3", "version": "1.4.4",
"main": "index.ts", "main": "index.ts",
"repository": "git@github.com:hydro-dev/Hydro.git", "repository": "git@github.com:hydro-dev/Hydro.git",
"author": "undefined <i@undefined.moe>", "author": "undefined <i@undefined.moe>",