chiark
/
gitweb
/
~mdw
/
odin-cgi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc6d34b
)
lib/Odin.pm: Fix default URLs.
author
Mark Wooding
<mdw@distorted.org.uk>
Fri, 7 Jul 2017 21:21:27 +0000
(22:21 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/lib/Odin.pm
b/lib/Odin.pm
index 90f1dc14921c4114211cb31214365a8b29b055d1..1d50fe9023c2a5066983644ad53f364979066138 100644
(file)
--- 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 = "http
s
://odin.gg/";
+our $STATIC = "http
s://odin.gg/static
/";
our $SHORTURL_PATH = "u";
our $PASTEBIN_PATH = "p";