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

BASE_URL variable not being validated #34

Open
ericgaspar opened this issue Feb 25, 2025 · 3 comments
Open

BASE_URL variable not being validated #34

ericgaspar opened this issue Feb 25, 2025 · 3 comments

Comments

@ericgaspar
Copy link

Thank you for your work on these dumb apps. I have packaged the 6 apps to be easily installed with YunoHost.

Describe the bug
I am serving DumbDrop thought NGINX proxy
I have an issue with the BASE_URL variable not being validated:
https://paste.yunohost.org/aqulumigug

I have trier https://mydomain.tld, http://localhost:myport, http://127.0.0.1:myport, I get the same error

Thanks for your help

Desktop (please complete the following information):

  • OS: MacOs
  • Browser : Firefox

Additional context
installing with YunoHost script : https://github.com/YunoHost-Apps/dumbdrop_ynh)

@gitmotion
Copy link
Member

gitmotion commented Feb 25, 2025

@ericgaspar i haven't used YunoHost but this looks more like an issue with how YunoHost is setting up the env variables. looking at the .env config for that YunoHost repo it looks like you dont need to include the protocol (https://)

in the meantime - when installing and supplying a domain, i would try putting in your domain without the protocol (https://) like this subdomain.mydomain.tld or mydomain.tld and seeing if that works! (however this does require the domain to be secure/https):

I would recommend that YunoHost changes their env to remove the string interpolation and so that you can supply a base url with either protocol

@abiteman
Copy link
Collaborator

Thank you for this @gitmotion !

@gitmotion
Copy link
Member

@abiteman 👍🏻 thought it might be related to a change i added so took a look in case

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants