how to modify softether vpn server http api CORS rule ?
I called the softether vpn server aip through javascript, but got an error:
Access to fetch at ' https://xxxxxxxxx:5555/api/ ' from origin ' http://xxxxxxxxxx ' has been blocked by CORS policy: Request header field content-type is not allowed by Access-Control-Allow-Headers in preflight response.
I want to use javascript to call the softether vpn server api to get the number of logged-in users on the hub and the IP address from which the logged-in users accessed the softehter vpn server.
Or is there any other better way to get the server information?
thanks!
how to modify softether vpn server http api CORS rule ?
-
- Posts: 1
- Joined: Fri Mar 17, 2023 7:22 am
-
- Posts: 1614
- Joined: Sun Feb 14, 2021 10:31 am