Make dev server ready for use (#43)

* basic dev server

* nit

* Return empty extensions list for dev server

* Update readme
This commit is contained in:
Chenlei Hu
2024-06-18 21:07:45 -04:00
committed by GitHub
parent 3fca50b997
commit 3225d7cb6f
5 changed files with 27 additions and 11 deletions

View File

@@ -31,7 +31,11 @@ class ComfyApi extends EventTarget {
this.initialClientId = sessionStorage.getItem("clientId");
}
apiURL(route) {
apiURL(route: string): string {
return this.api_base + "/api" + route;
}
fileURL(route: string): string {
return this.api_base + route;
}