mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-11 10:25:16 +00:00
5797ff89b0
This enables local reverse-proxies to host ComfyUI on a path, eg "http://example.com/ComfyUI/" in such a way that at least everything I tested works. Without this patch, proxying ComfyUI in this way will yield errors.
20 lines
676 B
HTML
20 lines
676 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>ComfyUI</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
<link rel="stylesheet" type="text/css" href="./lib/litegraph.css" />
|
|
<link rel="stylesheet" type="text/css" href="./style.css" />
|
|
<script type="text/javascript" src="./lib/litegraph.core.js"></script>
|
|
<script type="text/javascript" src="./lib/litegraph.extensions.js" defer></script>
|
|
<script type="module">
|
|
import { app } from "./scripts/app.js";
|
|
await app.setup();
|
|
window.app = app;
|
|
window.graph = app.graph;
|
|
</script>
|
|
</head>
|
|
<body class="litegraph"></body>
|
|
</html>
|