fix flake8 and add MIME types to lambda setup (#781)
* fix flake8 and add MIME types to lambda setup * add fixes per #660)
This commit is contained in:
@@ -1 +1,10 @@
|
||||
{"app":"pygeoapi/flask_app.APP","text_mime_types":["application/ld+json"]}
|
||||
{
|
||||
"app": "pygeoapi/flask_app.APP",
|
||||
"text_mime_types": [
|
||||
"application/ld+json",
|
||||
"text/html",
|
||||
"application/geo+json",
|
||||
"application/prs.coverage+json",
|
||||
"application/xml"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import os
|
||||
|
||||
from pygeoapi.flask_app import APP
|
||||
|
||||
os.environ['PYGEOAPI_CONFIG'] = 'pygeoapi-test-config.yml'
|
||||
os.environ['PYGEOAPI_OPENAPI'] = 'pygeoapi-test-openapi.yml'
|
||||
|
||||
from pygeoapi.flask_app import APP
|
||||
|
||||
if __name__ == "__main__":
|
||||
APP.run()
|
||||
|
||||
Reference in New Issue
Block a user