Force HTTPS / Change graphql URL?
- Dominant language
- TypeScript
- Stars
- 1.7k
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
Most functions won't work because Console is flooding with errors like this:
```
Mixed Content: The page at 'https://xxxxxxx.xxxx.us/search' was loaded over HTTPS, but requested an insecure resource 'http://xxxxxxx.xxxx.us:4000/graphql'. This request has been blocked; the content must be served over HTTPS.
```
I have apache reverse proxy set up for subdomain. Setting `WEB_UI_API_URL` in .env didn't help as it for some reason always gets that HTTP with subdomain and port :4000 that obviously will not work.
Any tips?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by tracing the WEB_UI_API_URL configuration and the GraphQL request entry point, then reproduce the mixed-content error with the web UI served over HTTPS. Done means the configured HTTPS endpoint is used without the unexpected :4000 port and the affected functions no longer produce blocked requests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, typescript
- Domain
- api, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100