clean client npm and gulp config, change flask root url, reference static url in template, change config management to follow flask convention
#
# See LICENCE for detail
# Copyright (c) 2014 IRI
#
import uuid
from flask import Flask, render_template
import config
app = Flask(__name__)
app.secret_key = str(uuid.uuid4())
app.config.from_object(config)
@app.route('/')
def page_home():
return render_template('index.html')
#return render_template('annotationclient.html', logging=True)
@app.route('/annot')
def page_annot():
return render_template('annot.html')
@app.route('/annotationclient')
def page_annotationclient():
return render_template('annotationclient.html', logging=True)