annot-server/webapp.py
author ymh <ymh.work@gmail.com>
Wed, 08 Oct 2014 15:14:58 +0200
changeset 0 e1d4d7a8255a
child 8 e72d0e847d5d
permissions -rw-r--r--
First shareable version


#
# 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')