From 49bed39b1f7caa2bd957a1684c356751960c9fda Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Fri, 7 Jul 2017 22:21:27 +0100 Subject: [PATCH] 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. --- lib/Odin.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; -- 2.11.0