Skip to content
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

[Bug] Add support for http #3984

Closed
1 of 4 tasks
Anivie opened this issue Feb 3, 2024 · 2 comments
Closed
1 of 4 tasks

[Bug] Add support for http #3984

Anivie opened this issue Feb 3, 2024 · 2 comments

Comments

@Anivie
Copy link
Contributor

Anivie commented Feb 3, 2024

Describe the bug
Tauri will disable the HTTP scheme in release mode, which means we won't be able to use the HTTP API.
Therefore, we need to disable this.

To Reproduce
Steps to reproduce the behavior:
This error occurs when any address within localhost (or 127.0.0.1) with the http scheme use in "OpenAI Endpoint".

Expected behavior
See.

Screenshots
image

Deployment

  • Docker
  • Vercel
  • Server
  • Client

Desktop (please complete the following information):

  • OS: Windows11 X64
  • Browser: Webview2
  • Version: 2.10.1

Additional Logs

Mixed Content: The page at 'https: //tauri. localhost/#/' was loaded over HTTPS, 04b39fde-8244312edb82a581.js: 193
but requested an insecure resource 'http: //10.0.0.1: 7878/v1/chat/completions'.
This request has been blocked; the content must be served over HTTPS.
@H0llyW00dzZ
Copy link
Contributor

yeah I know that,, tbh its confusing about tauri

@Anivie
Copy link
Contributor Author

Anivie commented Feb 4, 2024

yeah I know that,, tbh its confusing about tauri

I was also confused about it, so I went to the Tauri Discord group for help. Luckily, I got the final answer.

@Anivie Anivie closed this as completed Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants