lib/Odin.pm: Fix default URLs.
authorMark Wooding <mdw@distorted.org.uk>
Fri, 7 Jul 2017 21:21:27 +0000 (22:21 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 7 Jul 2017 21:21:27 +0000 (22:21 +0100)
  * 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

index 90f1dc1..1d50fe9 100644 (file)
@@ -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";