From b4df56f08a418e76c1aa872bd8ef5378f862e8d4 Mon Sep 17 00:00:00 2001 From: "Alex \"mcmonkey\" Goodwin" Date: Sun, 29 Oct 2023 09:07:29 -0700 Subject: [PATCH] use relative paths for js imports --- js/parameterDisplay.js | 4 ++-- js/promptDisplay.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/parameterDisplay.js b/js/parameterDisplay.js index 7ca1901..cc5f026 100644 --- a/js/parameterDisplay.js +++ b/js/parameterDisplay.js @@ -1,5 +1,5 @@ -import {app} from "/scripts/app.js"; -import {ComfyWidgets} from "/scripts/widgets.js"; +import {app} from "../../scripts/app.js"; +import {ComfyWidgets} from "../../scripts/widgets.js"; // Create a read-only string widget function createWidget(app, node, widgetName, type) { diff --git a/js/promptDisplay.js b/js/promptDisplay.js index ad9a334..7322612 100644 --- a/js/promptDisplay.js +++ b/js/promptDisplay.js @@ -1,5 +1,5 @@ -import {app} from "/scripts/app.js"; -import {ComfyWidgets} from "/scripts/widgets.js"; +import {app} from "../../scripts/app.js"; +import {ComfyWidgets} from "../../scripts/widgets.js"; // Create a read-only string widget with opacity set function createWidget(app, node, widgetName) {