fix 80124
This commit is contained in:
@@ -1554,6 +1554,7 @@ exports.PDFViewerApplication = PDFViewerApplication;
|
||||
if (!file) {
|
||||
return;
|
||||
}
|
||||
// 可以在这里从localStorage取token放在file里,处理复制链接后不能预览的判断
|
||||
try {
|
||||
const viewerOrigin = new URL(window.location.href).origin || "null";
|
||||
if (HOSTED_VIEWER_ORIGINS.includes(viewerOrigin)) {
|
||||
|
||||
Reference in New Issue
Block a user