moving to /internal for a js dir, icons.svg Ive built, etc. and added route in files.py, updates all html to use new path
This commit is contained in:
9
files.py
9
files.py
@@ -631,6 +631,15 @@ def checkrotatejob():
|
||||
resp['finished']=True
|
||||
return resp
|
||||
|
||||
################################################################################
|
||||
# /include -> return contents on /include and does not need a login, so we
|
||||
# can get the icon, and potentially any js, bootstrap, etc. needed for the login page
|
||||
################################################################################
|
||||
@app.route("/internal/<path:filename>")
|
||||
def internal(filename):
|
||||
print( filename )
|
||||
return send_from_directory("internal/", filename)
|
||||
|
||||
################################################################################
|
||||
# /static -> returns the contents of any file referenced inside /static.
|
||||
# we create/use symlinks in static/ to reference the images to show
|
||||
|
||||
Reference in New Issue
Block a user