api-platform / api-platform/admin
admin doesn't work against demo.api-platform.com
- Dominant language
- TypeScript
- Stars
- 516
- Forks
- 134
- PR merge metrics
- No merged PRs in 30d
Description
***The exact error:***
```
Fetch API cannot load http://demo.api-platform.com/docs.jsonld. Response for preflight is invalid (redirect)
```

***How to reproduce:***
1. I'm using https://demo.api-platform.com as an api endpoint

OPTIONS response contains LINK header which refers to http://demo.api-platform.com/docs.jsonld (although I specified https).
2. It is requesting http://demo.api-platform.com/docs.jsonld and receives `301 Moved Permanently` and `Location:https://demo.api-platform.com/docs.jsonld`

Also notice that first response is HTTP/2 and second one is HTTP 1.1
Contributor guide
Assessment
This issue has not been assessed yet.