-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mixed Content w/ HTTPS #3069
Comments
I just posted about the same issue (#3074). So, me too! |
Indeed, constructing URLs with string templates is always the cause for these annoying bugs. In addition, i would also modify the // WEBUI_HOSTNAME could be removed: https://github.com/search?q=repo:open-webui/open-webui WEBUI_HOSTNAME&type=code
export const WEBUI_HOSTNAME = browser ? (dev ? location.host : ``) : '';
export const WEBUI_BASE_URL = browser ? (dev ? location.origin : ``) : ``; |
Since one of the last updates to 3.x, OpenWebUI no longer loads. The DevTools console throws:
The fetch function in question makes a request to an API endpoint that has a constant in it which is hardcoded as http:
open-webui/src/lib/constants.ts
Line 7 in 0917fa6
This causes issues, as the page is trying to load a http resource over a https page, essentially.
A potential solution would be getting the protocol to correctly prepend http or https, depending on the instance. Maybe
location.protocol
?The text was updated successfully, but these errors were encountered: