6 Commits
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
[project]
name = "ComfyUI-PechaKucha"
description = "Nodes to generate a pecha-kucha presentation in ComfyUI"
version = "1.0.1"
version = "1.1.2"
license = { file = "LICENSE" }
dependencies = ["python-pptx >= 1.0.2"]
+2 -2
View File
@@ -1,4 +1,4 @@
import { app } from "/scripts/app.js";
import { app } from "../../../scripts/app.js";
app.registerExtension({
name: "pecha_kucha.DownloadPechaKucha",
@@ -51,7 +51,7 @@ app.registerExtension({
const folderName = cleanFilePath.replace(/[^\\/]+$/, "");
const fileNameMatch = cleanFilePath.match(/[^\\/]+$/);
const fileName = fileNameMatch ? fileNameMatch[0] : "";
const viewUrl = `/api/view?subfolder=${encodeURIComponent(folderName)}&filename=${encodeURIComponent(fileName)}&type=output`;
const viewUrl = `api/view?subfolder=${encodeURIComponent(folderName)}&filename=${encodeURIComponent(fileName)}&type=output`;
// Open the presentation in a new tab
window.open(viewUrl, "_blank");