mirror of
https://github.com/gurucomputing/headscale-ui.git
synced 2026-07-18 00:46:59 +00:00
emphasized that you need to fix CORS
This commit is contained in:
parent
c8fdafe323
commit
bfb2e7e7ce
1 changed files with 5 additions and 0 deletions
|
|
@ -99,6 +99,11 @@ Note that while mobile is checked for functionality, the web experience is not m
|
|||
|
||||
If you are getting errors about preflight checks, it's probably CORS related. Make sure your UI sits on the same subdomain as headscale or inject CORS headers.
|
||||
|
||||
### Errors related to "Missing Bearer Prefix"
|
||||
Your API key is either not saved. Create an API key in `headscale` (via command line) with `headscale apikeys create` or `docker exec <headscale container> headscale apikeys create` and save it in `settings`.
|
||||
|
||||
Alternatively, you haven't fixed your domain. HS-UI *has* to be ran on the same subdomain or you need to configure CORS. Yes you need to use a reverse proxy to do this. Use a reverse proxy.
|
||||
|
||||
## Development
|
||||
see [development](/documentation/development.md) for details
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue