完成 MysqlConnection、RedisConnection
This commit is contained in:
@@ -4,6 +4,17 @@ const config = {
|
||||
allowedHeaders: ['Content-Type'],
|
||||
methods: ['GET', 'POST']
|
||||
},
|
||||
mysql: {
|
||||
host: 'localhost',
|
||||
database: '',
|
||||
user: 'root',
|
||||
password: ''
|
||||
},
|
||||
redis: {
|
||||
host: 'localhost',
|
||||
port: 6379,
|
||||
password: '' // localhost
|
||||
},
|
||||
API_Port: 8080
|
||||
};
|
||||
export default config;
|
||||
Reference in New Issue
Block a user