Serve script that sends correct MIME types

Python...
This commit is contained in:
space-nuko
2023-05-11 11:29:41 -05:00
parent baa24f4d36
commit 68eca7cffb
4 changed files with 60 additions and 18 deletions

View File

@@ -1,11 +1,4 @@
#!/usr/bin/env sh
echo "Starting ComfyBox."
echo "Be sure you've started ComfyUI already using this command:"
echo ""
echo " python main.py --enable-cors-header"
echo ""
echo "Serving at http://localhost:8000"
echo ""
python -m http.server 8000
cd "${0%/*}"
python serve.py