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 50e1f59 + a5f00f2 commit a3c515fCopy full SHA for a3c515f
webserver/server.py
@@ -1,11 +1,8 @@
1
import server
2
-import folder_paths as comfy_paths
3
import os
4
5
from ..shared_utils.log_utils import cstr
6
7
-ROOT_PATH = os.path.join(comfy_paths.get_folder_paths("custom_nodes")[0], "ComfyUI-3D-Pack")
8
-
9
web = server.web
10
11
SUPPORTED_VIEW_EXTENSIONS = (
@@ -38,4 +35,4 @@ async def view_file(request):
38
35
if filepath.lower().endswith(SUPPORTED_VIEW_EXTENSIONS) and os.path.exists(filepath):
39
36
return web.FileResponse(filepath)
40
37
41
- return web.Response(status=404)
+ return web.Response(status=404)
0 commit comments