mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-18 21:48:49 -04:00
Added endpoints for the proxy to notifications.
- this uses alpha API for delivery - no DB model included as just proving - all notifications for same service at the moment (!)
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
import os
|
||||
|
||||
|
||||
class Config(object):
|
||||
DEBUG = False
|
||||
NOTIFY_LOG_LEVEL = 'DEBUG'
|
||||
@@ -6,6 +9,8 @@ class Config(object):
|
||||
SQLALCHEMY_COMMIT_ON_TEARDOWN = False
|
||||
SQLALCHEMY_RECORD_QUERIES = True
|
||||
SQLALCHEMY_DATABASE_URI = 'postgresql://localhost/notification_api'
|
||||
NOTIFY_DATA_API_URL = os.getenv('NOTIFY_API_URL', "http://localhost:6001")
|
||||
NOTIFY_DATA_API_AUTH_TOKEN = os.getenv('NOTIFY_API_TOKEN', "dev-token")
|
||||
|
||||
|
||||
class Development(Config):
|
||||
|
||||
Reference in New Issue
Block a user