From 47a06c612afefe999547b75bdedb599b20f401ab Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Thu, 10 Mar 2022 08:24:57 +0000 Subject: [PATCH] fix: Don't include port name in url. --- bin/werc.rc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/bin/werc.rc b/bin/werc.rc index 0d006a3..8ee8e31 100755 --- a/bin/werc.rc +++ b/bin/werc.rc @@ -34,7 +34,11 @@ for(a in $werc_apps) fn werc_exec_request { site=$SERVER_NAME - base_url=http://$site:$SERVER_PORT + base_url=http://$site + # base_url=http://$site:$SERVER_PORT + # ^ causes malformed rss to be generated + # could be useful for debugging, but + # otherwise not worth it sitedir=$sitesdir/$site headers=`{get_lib_file headers.tpl} master_template=`{get_lib_file default_master.tpl}