Skip to content

Commit 29e2c7c

Browse files
committed
Merge pull request #35 from gazpachoking/fix_serve
Fix serve command
2 parents 59dadec + 2a41c8e commit 29e2c7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/jsonschema_suite

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,8 @@ def main(arguments):
220220

221221
@app.route("/<path:path>")
222222
def serve_path(path):
223-
if path in schemas_to_serve:
224-
return jsonify(schemas_to_serve[path])
223+
if path in REMOTES:
224+
return jsonify(REMOTES[path])
225225
return "Document does not exist.", 404
226226

227227
app.run(port=1234)

0 commit comments

Comments
 (0)