Commit Graph

6 Commits

Author SHA1 Message Date
mb
db7bb5bfce adding support for gunicorn, to allow url's with prefixes 2022-12-01 18:30:19 +01:00
decentral1se
9d00038812
chore: strip tabs, auto-formatter 2022-10-02 16:54:13 +02:00
decentral1se
42e408859b
refactor!: unify slash handling
It is hard to remember to add `/` at the end of the URL when configuring
a new etherpad URL. Also, web server proxies tend to do weird stuff when
you assume that you have a slash on the end of each URL.

So, I took a look at how to avoid doing that. It turns out that both
urljoin / os.path.join are kinda bad for handling URL building. Also,
APPLICATION_ROOT didn't seem that necessary since Flask knows what to do
with a `/` at the start of a URL, so I dropped it.

I think this doesn't break anything!
2022-10-02 16:53:25 +02:00
fd8b9aca5c adding application_root to css links 2022-03-11 18:33:47 +01:00
4d6c97fb46 adding application_root to post form in the start screen 2022-03-11 16:51:52 +01:00
975b9912bc bending pad2pdf into octomode 2022-01-12 21:27:06 +01:00