rajnandan1 / kener

Kener is a Modern Self hosted Status Page, batteries included
https://kener.ing/
MIT License
2.2k stars 83 forks source link

Origin wildcard for ips #80

Closed c4g7-dev closed 1 month ago

c4g7-dev commented 1 month ago

Is your feature request related to a problem? Please describe. i cannot make a GET request from my proxied domain due to "invalid IP"

Describe the solution you'd like I would like to have the option to define allowed origins or domains(wildcards).

rajnandan1 commented 1 month ago

I did not understand the requirement. Are you trying to make an API call and you have set API_IP and it is giving invalid IP error?

KenleyundLeon commented 1 month ago

well me and him are trying to call the API via reqbin.com and it does give an invalid IP error but if we try it on our own PC's/machines everything works fine we are thinking it could be the Origin setting.

KenleyundLeon commented 1 month ago

because it would be really sad if we code smth with the API and it throws an 401 invalid IP error when we host it yk?

rajnandan1 commented 1 month ago

Updated here https://kener.ing/kener-docs/docs/environment-vars#api_ip

c4g7-dev commented 1 month ago

How can is sent a Webhook to discord when a Monitor goes down?