Compare commits
6
Commits
migration_v3
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bf59ccd9d9 | ||
|
|
83ed006088 | ||
|
|
4547670d6e | ||
|
|
b3fa1129dd | ||
|
|
f2466984ff | ||
|
|
52440aade3 |
+1
-1
@@ -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"]
|
||||
|
||||
|
||||
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user