stable-diffusion-webui
stable-diffusion-webui copied to clipboard
Image saved to temp folder causing image to not appear in UI when proxied through Apache on Windows
An update to Gradio 3.5 has caused newly created images to show from: http://localhost:7860/file=C:/Users/xxxx/AppData/Local/Temp/tmp_csv789x/tmp3uq2vw00.png
However this does not work if hosted behind a proxy.
GET https://xxxxxxx/file=C:/Users/xxxxx/AppData/Local/Temp/tmp_csv789x/tmp9fvirt0b.png 403 tmp9fvirt0b.png:1 GET https://xxxxxxx/file=C:/Users/xxxxxx/AppData/Local/Temp/tmp_csv789x/tmp9fvirt0b.png 403 Image (async) v @ index.9828d028.js:1 c @ index.b5bd335e.js:1 c @ index.b5bd335e.js:1 p @ index.b5bd335e.js:1 p @ index.b5bd335e.js:1 Jc @ index.9828d028.js:1 p @ Block.fae874df.js:1 p @ Block.fae874df.js:1 Ti @ index.9828d028.js:4 me @ index.9828d028.js:4 Promise.then (async) ue @ index.9828d028.js:4 Ni @ index.9828d028.js:4 (anonymous) @ index.9828d028.js:4 ce @ index.b5bd335e.js:1 d @ index.b5bd335e.js:1
Apache doesn't like the colon character : for the src on windows. Can the temp files be put into a relative folder?
Closing as stale.