a simple but full-featured web player for OpenSubsonic music servers (Navidrome, Gonic, Ampache, etc) devins.page/tinysub

server lock not being respected #137

Closed amber.tngl.sh
Closed opened by amber.tngl.sh

My instance of tinysub has started prompting me for a server url when I sign in. My .env contains VITE_TINYSUB_SERVER_LOCK=true and has VITE_TINYSUB_SERVER populated. I'm presently on 2.74.5 and will see if bringing the instance up to date and rebuilding this evening helps, but in the meantime, it'd be good to know if something in particular broke this.

interesting... i tried this in the latest version, and it seemed to work fine in my case:

.env:

VITE_TINYSUB_SERVER_LOCK=true
VITE_TINYSUB_SERVER=https://navidrome.devins.page
> npm run build

i can't seem to reproduce the issue myself... is this thru docker or something else?

oh also is it just the server lock that's not working, or is the server url also not being prefilled?

if both are broken then env is probably not being respected at all

It is through docker and it is both. Once I'm home this evening I'll update and rebuild the everything to see if it's looking there at all.

ah it's because .env* is being ignored in .dockerignore.. i think i accidentally added that when i was requesting changes in the PR from earlier.. i'll push a fix

Oh! That would definitely do it. I didn't catch that either 😛 thanks! I'll verify it works as soon as I can.

Confirmed, all good now 😃 thanks again!

Sign up or Sign in to add to the discussion.