Skip to content

SpiderFoot automates OSINT for threat intelligence and mapping your attack surface.

should not append docroot after script_name is set

Lin Zheminc58dcbfada53
diff --git a/sf.py b/sf.py
index a1a9b804..3eb7bc34 100755
--- a/sf.py
+++ b/sf.py
@@ -144,7 +144,7 @@ if __name__ == '__main__':
# Enable access to static files via the web directory
currentDir = os.path.abspath(sf.myPath())
- conf = { sfConfig['__docroot'] + '/static': {
+ conf = { '/static': {
'tools.staticdir.on': True,
'tools.staticdir.dir': os.path.join(currentDir, 'static')
}}