[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [bridgedb] 03/66: Change the /assets route to /static
This is an automated email from the git hooks/post-receive script.
meskio pushed a commit to branch main
in repository bridgedb.
commit 2b8e56fe90e1991d9f600d0a648c1dfdb89c6a67
Author: kez <kez@xxxxxxxxxxxxxx>
AuthorDate: Wed Jan 12 13:35:31 2022 -0800
Change the /assets route to /static
Lektor hardcodes /static into the url of static asset links. Changing
the route is the easiest way to make things work.
---
bridgedb/distributors/https/server.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bridgedb/distributors/https/server.py b/bridgedb/distributors/https/server.py
index 81d8e81..478d4da 100644
--- a/bridgedb/distributors/https/server.py
+++ b/bridgedb/distributors/https/server.py
@@ -1184,7 +1184,7 @@ def addWebServer(config, distributor):
root = CustomErrorHandlingResource()
root.putChild(b'', index)
root.putChild(b'robots.txt', robots)
- root.putChild(b'assets', assets)
+ root.putChild(b'static', assets)
root.putChild(b'options', options)
root.putChild(b'howto', howto)
root.putChild(b'info', info)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits