From: Mark Wooding Date: Fri, 7 Jul 2017 21:21:27 +0000 (+0100) Subject: lib/Odin.pm: Fix default URLs. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/odin-cgi/commitdiff_plain/49bed39b1f7caa2bd957a1684c356751960c9fda lib/Odin.pm: Fix default URLs. * We have proper HTTPS, and expect people to use it. * The static content is in a subdirectory for easier webserver configuration. This reflects the actual deployed configuration. --- diff --git a/lib/Odin.pm b/lib/Odin.pm index 90f1dc1..1d50fe9 100644 --- a/lib/Odin.pm +++ b/lib/Odin.pm @@ -24,8 +24,8 @@ our $DSN = "dbi:Pg(pg_enable_utf8=>1):host=db"; our $RETRY = 10; our @BACKOFF = (0.1, 10, 1.5, 0.5, 2.0); -our $BASEURL = "http://odin.gg/"; -our $STATIC = "http://odin.gg/"; +our $BASEURL = "https://odin.gg/"; +our $STATIC = "https://odin.gg/static/"; our $SHORTURL_PATH = "u"; our $PASTEBIN_PATH = "p";