Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relative paths for links on Status page #255

Open
pieterdevriesch opened this issue Jun 19, 2023 · 1 comment
Open

Relative paths for links on Status page #255

pieterdevriesch opened this issue Jun 19, 2023 · 1 comment
Labels
enhancement New feature, improvement, or request

Comments

@pieterdevriesch
Copy link

Is your feature request related to a problem? Please describe.
On the Status page of the web interface there are several links to streams and snapshots. These links point to the IP address of the camera, with the web interface port that is set.
However I access the camera via a domain name via NGINX to give me remote access (secured of course). When I access it via yihack.example.com the links on the Status page still point to the local network IP, e.g. http://192.168.1.100:8080/cgi-bin/snapshot.sh?res=high&watermark=yes

That means I can't click those links to go straight to the stream/snapshot.

Describe the solution you'd like
Either make the links relative like they are in the menu bar, or add a setting to change the base path for these links.

Describe alternatives you've considered
Just copy/pasting everything after the IP address and adding it in the browser bar after the domain name works of course but is not very convenient.

@alienatedsec alienatedsec added the enhancement New feature, improvement, or request label Jun 27, 2023
@alienatedsec
Copy link
Owner

Happy to accept a PR if you find a way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature, improvement, or request
Projects
None yet
Development

No branches or pull requests

2 participants