From 18893f3192721144e82497dce751864faa4437e4 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 10 Mar 2022 23:00:29 +0000 Subject: [PATCH] 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. --- bin/werc.rc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/werc.rc b/bin/werc.rc index 8ee8e31..acf8590 100755 --- 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}