m0ngr31 / DailyNotes

App for taking notes and tracking tasks on a daily basis
MIT License
705 stars 44 forks source link

BaseUrl for reverse proxy #6

Closed vbuzzano closed 2 years ago

vbuzzano commented 4 years ago

Hello,

I realy like your project and the idea of dailynotes

would it be possible to add environment variable for BASE URL to be able run dailynotes behind a reverse proxy subfolder ?

eg https://mydomain.ex/subfolder/date/09-26-2020

Thank you

m0ngr31 commented 4 years ago

That should be relatively simple to do. I'll take a look at this.

m0ngr31 commented 2 years ago

Done on #48

lawlient commented 5 months ago

Hi, looks like the variable BASE_URL only works at "npm run build", it doesn't work if build has done