This repository has been archived by the owner on Jun 15, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Relaxed CORS restriction from /api/ endpoint, see #46
Now cross-site xhr-requests can work inside browser(by scripts or extensions) even if the authentication is enabled. Tested on an extension which uses /api/ endpoint with authentication feature and solves [https://github.com/ketankr9/cloud-torrent-extension/issues/1#issuecomment-570915569](https://github.com/ketankr9/cloud-torrent-extension/issues/1#issuecomment-570915569) Note: CORS only affects webHandle
- Loading branch information