From ba5df390e734e02532aa5678cd1c395bd751f4ba Mon Sep 17 00:00:00 2001 From: Tully Foote Date: Tue, 9 Jan 2024 21:30:31 -0800 Subject: [PATCH] Don't use home directory traversal Allowing us to improve security enforcement. Fixes #356 --- macro/macroutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macro/macroutils.py b/macro/macroutils.py index dc20c59..242bef2 100644 --- a/macro/macroutils.py +++ b/macro/macroutils.py @@ -19,7 +19,7 @@ doc_url_base = "http://docs.ros.org/en/" -doc_path = '/home/rosbot/docs/en/' +doc_path = '/var/www/docs.ros.org/en/' metrics_path = '/var/www/www.ros.org/metrics/' MISSING_DOC_TMPL = 'Cannot load information on %(name)s, which means that it is not yet in our index.'