You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
373 B
JavaScript
17 lines
373 B
JavaScript
|
5 years ago
|
const path = require('path');
|
||
|
|
// 静态资源位置
|
||
|
|
const public_path = path.join(__dirname, './public/');
|
||
|
|
const upload_path = public_path + 'uploads\\';
|
||
|
|
module.exports = {
|
||
|
|
public_path,
|
||
|
|
upload_path,
|
||
|
|
port: 8118,
|
||
|
|
// "mysql_config": {
|
||
|
|
// "host": "127.0.0.1",
|
||
|
|
// "user": "root",
|
||
|
|
// "password": "root", //Leaper@123
|
||
|
|
// "database": "parameter"
|
||
|
|
// },
|
||
|
|
}
|
||
|
|
|