Skip to content

Commit

Permalink
Don't use home directory traversal
Browse files Browse the repository at this point in the history
Allowing us to improve security enforcement.

Fixes ros-infrastructure#356
  • Loading branch information
tfoote committed Jan 10, 2024
1 parent 10d14bf commit ba5df39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion macro/macroutils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <strong>%(name)s</strong>, which means that it is not yet in our index.'
Expand Down

0 comments on commit ba5df39

Please sign in to comment.