Commit 2eb705c8 authored by Christine Plumejeaud's avatar Christine Plumejeaud
Browse files

Add agpl v3 licence and fixed a detail for deployment of the api in wsgi file.

parent 9fabf122
This diff is collapsed.
......@@ -15,7 +15,7 @@ from flask import Flask, jsonify, abort, render_template,url_for,request, make_r
from flask_cors import CORS, cross_origin
from flask_caching import Cache
import numpy as np
#import numpy as np
import csv
import json
import io
......@@ -36,7 +36,7 @@ CORS(app)
port = '80'
postgresport = '5433'
postgresport = '5432'
database = 'portic_v4'
names = dict()
......
......@@ -3,5 +3,5 @@
import sys
import os, os.path
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '.')))
from . import app as application
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..')))
from gazetteer import app as application
Supports Markdown
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