]> gitweb.factorcode.org Git - factor.git/commitdiff
webapps.help: All docs.factorcode.org traffic should go to https.
authorDoug Coleman <doug.coleman@gmail.com>
Sun, 12 Aug 2018 22:47:08 +0000 (17:47 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sun, 12 Aug 2018 22:54:17 +0000 (17:54 -0500)
Per request on irc.

extra/webapps/help/help.factor

index fd53988b939cf63f2e01efeb7ea74ec06de7013e..dd7c17529cc8ade6f4b8040fee1b5de1088af500 100644 (file)
@@ -37,10 +37,10 @@ TUPLE: help-webapp < dispatcher ;
 
 :: <help-webapp> ( help-dir -- webapp )
     help-webapp new-dispatcher
-        <main-action> "" add-responder
-        help-dir <search-action> "search" add-responder
-        help-dir <static> "content" add-responder
-        "resource:basis/definitions/icons/" <static> "icons" add-responder ;
+        <main-action> <secure-only> "" add-responder
+        help-dir <search-action> <secure-only> "search" add-responder
+        help-dir <static> <secure-only> "content" add-responder
+        "resource:basis/definitions/icons/" <static> <secure-only> "icons" add-responder ;
 
 : run-help-webapp ( -- )
     "docs" cache-file <help-webapp>