]> jfr.im git - dlqueue.git/commitdiff
hello world 2.0
authorJohn Runyon <redacted>
Sat, 25 May 2024 03:42:18 +0000 (21:42 -0600)
committerJohn Runyon <redacted>
Sat, 25 May 2024 03:42:18 +0000 (21:42 -0600)
app.py

diff --git a/app.py b/app.py
index c893078c36207fc850fd8167a005ca130531f200..a5a57bc89e5153efb7f38bad9f6209d5c335f547 100644 (file)
--- a/app.py
+++ b/app.py
@@ -1,7 +1,10 @@
 from flask import Flask, render_template
-
 app = Flask(__name__)
 
 @app.route("/")
 def index():
        return render_template('index.html')
+
+@app.route('/api/new-job')
+def new_job():
+       return {'foo':1,'bar':2,'quux':[1,2,3]}