ADD more indictaors, BB,RSI and Z-score
This commit is contained in:
@@ -12,6 +12,11 @@ app = Flask(__name__)
|
||||
cache = Cache(app, config={'CACHE_TYPE': 'SimpleCache'})
|
||||
# The CSV is in the root directory (same level as app.py)
|
||||
CSV_PATH = os.path.join(os.path.dirname(__file__), 'instruments.csv')
|
||||
# This tells Flask it is behind a proxy and to trust the HTTPS headers from Synology
|
||||
@app.before_request
|
||||
def before_request():
|
||||
if request.headers.get('X-Forwarded-Proto') == 'https':
|
||||
request.environ['wsgi.url_scheme'] = 'https'
|
||||
|
||||
@app.route('/settings')
|
||||
def settings():
|
||||
|
||||
Reference in New Issue
Block a user