This commit is contained in:
2
app.py
2
app.py
@@ -26,7 +26,7 @@ def get_file_info(filepath):
|
|||||||
def index():
|
def index():
|
||||||
"""Serves the main UI."""
|
"""Serves the main UI."""
|
||||||
# Default to current working directory
|
# Default to current working directory
|
||||||
start_path = os.getcwd()
|
# start_path = os.getcwd()
|
||||||
return render_template('index.html', start_path='/toor')
|
return render_template('index.html', start_path='/toor')
|
||||||
|
|
||||||
@app.route('/api/scan')
|
@app.route('/api/scan')
|
||||||
|
|||||||
Reference in New Issue
Block a user