home · contact · privacy
Minor fixes.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 31 Dec 2021 16:47:41 +0000 (17:47 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 31 Dec 2021 16:47:41 +0000 (17:47 +0100)
bullseye/etc_files/dumpsite/etc/nginx/sites-available/dumpsite.nginx
bullseye/setup_scripts/setup_dumpsite.sh

index 25c2d623645db1e5d11f188ff9924650b81224f6..9b57587b6bd4a6f169a3975f9caf78bbbe662e0a 100644 (file)
@@ -7,6 +7,7 @@ server {
 
     location /dump/ {
         autoindex on;
+       # add_header "Access-Control-Allow-Origin" *;
     }
 
     location /geheim/ {
index 4d1a14ee52a4dd067d6e4017c34499e79e1f855f..35f7c8e223d468b0673f5a0e3b2a607bd016bca4 100755 (executable)
@@ -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