octomode/templates
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
..
base.html refactor!: unify slash handling 2022-10-02 16:53:25 +02:00
default.css chore: strip/clean with auto-formatter 2022-10-02 11:40:54 +02:00
default.md chore: strip/clean with auto-formatter 2022-10-02 11:40:54 +02:00
iframe.html the pagedjs template is fixed now (not editable anymore in the interface) + other changes to the templates 2022-02-17 16:50:47 +01:00
pagedjs.html refactor!: unify slash handling 2022-10-02 16:53:25 +02:00
pdf.html refactor!: unify slash handling 2022-10-02 16:53:25 +02:00
preview.html refactor!: unify slash handling 2022-10-02 16:53:25 +02:00
start.html refactor!: unify slash handling 2022-10-02 16:53:25 +02:00