modify config to varbles
This commit is contained in:
parent
b67482de9b
commit
1942644434
|
@ -14,9 +14,11 @@ from sanic.response import json
|
||||||
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
asyncio.set_event_loop_policy(uvloop.EventLoopPolicy())
|
||||||
|
|
||||||
DB_CONFIG = {
|
DB_CONFIG = {
|
||||||
'host': 'localhost',
|
'host': '<host>',
|
||||||
'user': 'tachien',
|
'user': '<username>',
|
||||||
'database': 'tachien'
|
'password': '<password>',
|
||||||
|
'port': '<port>',
|
||||||
|
'database': '<database>'
|
||||||
}
|
}
|
||||||
|
|
||||||
def jsonify(records):
|
def jsonify(records):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user