Skip to content

Commit 9e3dffd

Browse files
authored
Fix relative paths (#447)
ComfyUI is not necessarily the webroot, paths should be relative rather than absolute
1 parent 429e44f commit 9e3dffd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
window["__COMFYUI_FRONTEND_VERSION__"] = __COMFYUI_FRONTEND_VERSION__;
1919
console.log("ComfyUI Front-end version:", __COMFYUI_FRONTEND_VERSION__);
2020
</script>
21-
<script type="module" src="/src/main.ts"></script>
22-
<link rel="stylesheet" type="text/css" href="/user.css" />
23-
<link rel="stylesheet" type="text/css" href="/materialdesignicons.min.css" />
21+
<script type="module" src="src/main.ts"></script>
22+
<link rel="stylesheet" type="text/css" href="user.css" />
23+
<link rel="stylesheet" type="text/css" href="materialdesignicons.min.css" />
2424
</head>
2525
<body class="litegraph">
2626
<div id="vue-app"></div>

0 commit comments

Comments
 (0)