From: Christian Heller Date: Fri, 31 Dec 2021 16:47:41 +0000 (+0100) Subject: Minor fixes. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/%7B%7B%20web_path%20%7D%7D/static/%7B%7Bdb.prefix%7D%7D/day?a=commitdiff_plain;h=41c3a5b56a105c6f45183c581d8b5968947f3475;p=config Minor fixes. --- diff --git a/bullseye/etc_files/dumpsite/etc/nginx/sites-available/dumpsite.nginx b/bullseye/etc_files/dumpsite/etc/nginx/sites-available/dumpsite.nginx index 25c2d62..9b57587 100644 --- a/bullseye/etc_files/dumpsite/etc/nginx/sites-available/dumpsite.nginx +++ b/bullseye/etc_files/dumpsite/etc/nginx/sites-available/dumpsite.nginx @@ -7,6 +7,7 @@ server { location /dump/ { autoindex on; + # add_header "Access-Control-Allow-Origin" *; } location /geheim/ { diff --git a/bullseye/setup_scripts/setup_dumpsite.sh b/bullseye/setup_scripts/setup_dumpsite.sh index 4d1a14e..35f7c8e 100755 --- a/bullseye/setup_scripts/setup_dumpsite.sh +++ b/bullseye/setup_scripts/setup_dumpsite.sh @@ -78,7 +78,7 @@ su -lc "ln -s /home/plom/blog/public /var/www-dump/blog" plom # Set up url catcher. # TODO: set up like plomlombot repo (with post-recieve hook)? -if [ "$repos_source" = "local"]; then +if [ "$repos_source" = "local" ]; then su -lc "git clone /var/repos/url-catcher" plom else su -lc "git clone https://plomlompom.com/repos/clone/url-catcher" plom