]> gitweb.ps.run Git - ps-cgit/blobdiff - ui-shared.c
ui-shared: redirect should not exit early for cache
[ps-cgit] / ui-shared.c
index 2c91e75b0727f26f670e80546802d69b3012fc07..9a38aa9e0ac801df6da09eeae6f76b0ce43fcc50 100644 (file)
@@ -702,7 +702,6 @@ void cgit_redirect(const char *url, bool permanent)
        html("Location: ");
        html_url_path(url);
        html("\n\n");
-       exit(0);
 }
 
 static void print_rel_vcs_link(const char *url)
@@ -1000,7 +999,7 @@ void cgit_print_pageheader(void)
                if (ctx.repo->homepage) {
                        html("<a href='");
                        html_attr(ctx.repo->homepage);
-                       html("' target='_blank'>homepage</a>");
+                       html("'>homepage</a>");
                }
                html("</td><td class='form'>");
                html("<form class='right' method='get' action='");