commit 18893f3192721144e82497dce751864faa4437e4
parent 01e571a21b9ab36e873d962c35bfe71c4d448a07
Author: NunoSempere <nuno.sempere@protonmail.com>
Date: Thu, 10 Mar 2022 23:00:29 +0000
feat: Change default to https.
Unclear whether this should be the case for werc in general
(probably not)
But it will be the case for my werc websites going on.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bin/werc.rc b/bin/werc.rc
@@ -1,4 +1,4 @@
-#!/bin/rc
+#!/usr/lib/plan9/bin/rc
. ./cgilib.rc
. ./werclib.rc
. ./wercconf.rc
@@ -34,10 +34,10 @@ for(a in $werc_apps)
fn werc_exec_request {
site=$SERVER_NAME
- base_url=http://$site
- # base_url=http://$site:$SERVER_PORT
+ base_url=https://$site
+ # base_url=https://$site:$SERVER_PORT
# ^ causes malformed rss to be generated
- # could be useful for debugging, but
+ # could be useful for debugging, but
# otherwise not worth it
sitedir=$sitesdir/$site
headers=`{get_lib_file headers.tpl}