Open gpnunes75 opened 2 years ago
I have done those modifications above.
I had to change swiftHole dependence and PiStats. I 'd like to know if I can help and send the modifications to add to those projects.
I put files below
Hey. @gpnunes75 thank you for that I appreciate it, but could you create a PR so it's easier for me to check out the changes? Feel free to reach me out on twitter (fcbunn) if you have any issues with it :)
I can do that. Just for clarification. I need to create a PR here and a another on SwiftHole?
OK, I made a PR to both projects. I Hope I have done right.
I have compiled and tested with no problem.
I use my pi-hole behind a reverse proxy. It automatically add a prefix /admin at end. So my public address is https://pihole.mydomain this way the api address https://pihole.mydoman/admin/api.php doesn't work.
My suggestion: Add a configuration to add a different api address or create a configuration to bypass reverse proxies.