exclude jsons from restreamer

This commit is contained in:
deflax 2024-01-02 01:48:37 +00:00
parent 2c519b1061
commit fc21a2a2d8
2 changed files with 9 additions and 1 deletions

8
.gitignore vendored
View file

@ -161,9 +161,17 @@ cython_debug/
# television # television
#data folder
data/ data/
logs/ logs/
#data json
*.json
# env vars
variables.env variables.env
# configs
haproxy.cfg haproxy.cfg
mediamtx.yml mediamtx.yml
nginx.conf nginx.conf

View file

@ -110,7 +110,7 @@ manager.register_task(name="read_database", job=analyze_db).period(35).start()
@app.route('/', methods=['GET']) @app.route('/', methods=['GET'])
def root_query(): def root_query():
playhead = iway playhead = jt
return jsonify(playhead) return jsonify(playhead)
def create_app(): def create_app():