lobehub / sd-webui-lobe-theme

🅰️ Lobe theme - The modern theme for stable diffusion webui, exquisite interface design, highly customizable UI, and efficiency boosting features.
https://github.com/AUTOMATIC1111/stable-diffusion-webui
GNU Affero General Public License v3.0
2.31k stars 217 forks source link

404 Not found for lobe resources when using the --subpath parameter in stable-diffusion-web-ui #542

Open levvayner opened 4 months ago

levvayner commented 4 months ago

👀 检查清单 | Initial checklist

💻 系统环境 | Operating System

Ubuntu

🌐 浏览器 | Browser

Chrome

📦 SD Wbui 版本或提交 | Version or Commit

cf2772fab0af5573da775e7437e6acdca424f26e

📦 Lobe Theme 版本或提交 | Version or Commit

b9ab9dc480c8f1b153a17ed1bc45fe32822cafb4

🐛 问题描述 | Bug Description

--subpath argument of webui is not implemented.

e.g. site is accessible through https://site.com/vision, using --subpath vision

🚦 期望结果 | Expected Behavior

Resources should be loading with base path https://site.com/vision instead of https://site.com

📷 复现步骤 | Recurrence Steps

launch sd-webui with --subpath=somepath/

📝 补充信息 | Additional Information

workaround: use nginx proxy to redirect requests from https://site.com/lobe to https://site.com/vision/lobe

lobehubbot commented 4 months ago

👀 @levvayner

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。