We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee4bec1 + a90cbd9 commit d847662Copy full SHA for d847662
src/js/core/Events/PreviewWarc.js
@@ -1,5 +1,5 @@
1
// Shared function to handle WARC file detection and viewing
2
-function handleWarcFileAction(node) {
+async function handleWarcFileAction(node) {
3
console.log("Checking node for WARC compatibility:", node);
4
5
// Check if it's a WARC-compatible file
@@ -14,7 +14,7 @@ function handleWarcFileAction(node) {
14
console.log("WARC-compatible file detected, launching viewer");
15
16
// Get the file URL using your existing logic
17
- const fileUrl = `${window.location.origin}/io/quarantine/${fileName}${window.location.search}`;
+ const fileUrl = await PydioApi._PydioClient.buildPresignedGetUrl(node);
18
19
// Create and show the WARC options modal
20
const optionsModal = Curate.ui.modals.curatePopup(
0 commit comments