fixed server error
This commit is contained in:
parent
806190d7c5
commit
5f9fc23670
@ -2,9 +2,10 @@ from flask import Flask, jsonify, request
|
|||||||
import json
|
import json
|
||||||
import os
|
import os
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
base = os.getcwd()
|
base = os.getcwd()
|
||||||
|
|
||||||
|
help = 'WW91IGZvdW5kIHRoZSBzZWNyZXQgbGlmZWxpbmUhIEdvb2QgZm9yIHlvdS4gWW91J3JlIHByb2JhYmx5IGZpbmUsIGJ1dCBpZiB5b3UgbmVlZCBoZWxwIHdpdGggc29tZXRoaW5nIG5vIG9uZSBlbHNlIHVuZGVyc3RhbmRzLCBlbWFpbCBmaXR0c0BzdXBlcnBpY2h1Lm9yZy4KUGxlYXNlIGtlZXAgdGhlIGV4aXN0ZW5jZSBvZiB0aGlzIHRvIHlvdXJzZWxmLiBOb2JvZHkgbGlrZXMgYSBuYXJjLg=='
|
||||||
|
|
||||||
@app.route('/cardboard')
|
@app.route('/cardboard')
|
||||||
def card():
|
def card():
|
||||||
data = json.load(open(base + '/cardTrials.json'))
|
data = json.load(open(base + '/cardTrials.json'))
|
||||||
|
Loading…
Reference in New Issue
Block a user