guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/06: Revert "website: Hard-code file:// URL root when GUIX_WEB_SITE_LO


From: Ludovic Courtès
Subject: 03/06: Revert "website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL."
Date: Thu, 7 Dec 2017 05:16:53 -0500 (EST)

civodul pushed a commit to branch master
in repository guix-artwork.

commit 31e8b40f3124ee700200546f0fa83e56474b3304
Author: Ludovic Courtès <address@hidden>
Date:   Thu Dec 7 10:28:50 2017 +0100

    Revert "website: Hard-code file:// URL root when GUIX_WEB_SITE_LOCAL."
    
    This reverts commit 3c4a4490c62db7e5ac884368760c14c593bf38b3, which
    broke navigation of the site served by "haunt serve".
---
 website/apps/base/utils.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/website/apps/base/utils.scm b/website/apps/base/utils.scm
index 7e0a844..e081652 100644
--- a/website/apps/base/utils.scm
+++ b/website/apps/base/utils.scm
@@ -92,7 +92,7 @@
   ;; If we are trying out the website locally, use "/" as the root.
   ;; Otherwise use guix-root-url-path for deployment to gnu.org.
   (if (getenv "GUIX_WEB_SITE_LOCAL")
-      (string-append "file:///tmp/gnu/software/guix/" subpath)
+      (string-append "/" subpath)
       (string-append (guix-root-url-path) subpath)))
 
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]