changeset 0 | e1d4d7a8255a |
child 8 | e72d0e847d5d |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/annot-server/webapp.py Wed Oct 08 15:14:58 2014 +0200 @@ -0,0 +1,21 @@ + +# +# See LICENCE for detail +# Copyright (c) 2014 IRI +# + +import uuid + +from flask import Flask, render_template + +app = Flask(__name__) +app.secret_key = str(uuid.uuid4()) + +@app.route('/') +def page_home(): + return render_template('index.html') + + +@app.route('/annot') +def page_annot(): + return render_template('annot.html')