added config for authorize
This commit is contained in:
@@ -4,7 +4,9 @@ class ApplicationConfig:
|
||||
"""
|
||||
Basic Configuration for a generic User
|
||||
"""
|
||||
CURRENT_SETTINGS = 'LOCAL'
|
||||
|
||||
print("USING TESTING APPLICATIONCONFIG!!!!!")
|
||||
CURRENT_SETTINGS = 'DEVELOPMENT'
|
||||
# databases info
|
||||
POSTGRES_USERNAME = 'postgres'
|
||||
POSTGRES_PW = 'password'
|
||||
@@ -16,5 +18,17 @@ class ApplicationConfig:
|
||||
POSTGRES_SERVER,
|
||||
POSTGRES_DBNAME00
|
||||
)
|
||||
|
||||
SQLALCHEMY_BINDS = {'eamco': SQLALCHEMY_DATABASE_URI}
|
||||
SQLALCHEMY_BINDS = {'eamco': SQLALCHEMY_DATABASE_URI}
|
||||
|
||||
origins = [
|
||||
"http://localhost:9000",
|
||||
"https://localhost:9513",
|
||||
"http://localhost:9514",
|
||||
"http://localhost:9512",
|
||||
"http://localhost:9511",
|
||||
"http://localhost:5173", # Frontend port
|
||||
"http://localhost:9516", # Authorize service port
|
||||
|
||||
]
|
||||
API_LOGIN_ID = '9U6w96gZmX'
|
||||
TRANSACTION_KEY = '94s6Qy458mMNJr7G'
|
||||
|
||||
Reference in New Issue
Block a user