Commit 014f4271 authored by Ibouniyamine Nabihoudine's avatar Ibouniyamine Nabihoudine
Browse files

enable cors for crossdomain get

parent 34127e34
......@@ -51,7 +51,7 @@ if __name__ == '__main__':
app_conf = {
'/':
{'tools.staticdir.root': WEB_DIR},
{'tools.staticdir.root': WEB_DIR, 'tools.CORS.on': True},
os.path.join('/', 'css'):
{'tools.staticdir.on' : True, 'tools.staticdir.dir' : './css/'},
os.path.join('/', 'js'):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment