SnapDrop / snapdrop

A Progressive Web App for local file sharing
https://snapdrop.net
GNU General Public License v3.0
18.43k stars 1.68k forks source link

Removeing the unecessary / 's in index.html as it breaks reverse proxying into a sub folder. #570

Closed sagniKdas53 closed 1 year ago

sagniKdas53 commented 1 year ago

Description:

This is just a minor fix, but I found that the /'s before sounds break reverse proxying into a subfolder with traefik.

Benefits of this PR and context:

It doesn't break any existing functionality and works in the context I tested.

How Has This Been Tested?

I was initially using linuxserver/snapdrop but then I edited the Dockerfiles to make the build work.

added this line to the Dockerfile

sed -i 's#/sounds#sounds#g' /app/www/client/index.html && \

I have tested it on arm64 (raspberry pi 4b+) and amd64.