about summary refs log tree commit diff
path: root/gn3/api/streaming.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn3/api/streaming.py')
-rw-r--r--gn3/api/streaming.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gn3/api/streaming.py b/gn3/api/streaming.py
index 6569ceb..213d97f 100644
--- a/gn3/api/streaming.py
+++ b/gn3/api/streaming.py
@@ -5,11 +5,11 @@ from flask import jsonify
 from flask import Blueprint
 from flask import request
 
-streaming = Blueprint("streaming", __name__)
+streaming = Blueprint("stream", __name__)
 
 
-@streaming.route("/stream/<identifier>",  methods=["GET"])
-def stream(identifier="output"):
+@streaming.route("/<identifier>",  methods=["GET"])
+def stream(identifier):
     """ This endpoints streams stdout from a file expects
     the indetifier to be the file """
     output_file = os.path.join(current_app.config.get("TMPDIR"),