feat: 支持全局cookie代理

This commit is contained in:
ImFurina
2025-10-06 14:07:33 +08:00
parent 765734cd2d
commit 0e0777d175
4 changed files with 10 additions and 9 deletions
+7 -7
View File
@@ -336,17 +336,17 @@ async function serveNcmApi(options) {
const appExt = app
appExt.server = app.listen(port, host, () => {
console.log(`
_ _ _____ __ __ _ ____ ___
| \\ | |/ ____| \\/ | /\\ | | | _ \\_ |
| \\| | | | \\ / | / \\ | | | |_) | |
| . \` | | | |\\/| | / /\\ \\ | | | __/| |
| |\\ | |____| | | | / ____ \\| |__| | | |
|_| \\_|\\_____|_| |_| /_/ \\_\\____|_| |_|
_ _ _____ __ __
| \\ | |/ ____| \\/ |
| \\| | | | \\ / |
| . \` | | | |\\/| |
| |\\ | |____| | | |
|_| \\_|\\_____|_| |_|
`)
console.log(`
╔═╗╔═╗╦ ╔═╗╔╗╔╦ ╦╔═╗╔╗╔╔═╗╔═╗╔╦╗
╠═╣╠═╝║ ║╣ ║║║╠═╣╠═╣║║║║ ║╣ ║║
╩ ╩╩ ╩═╝ ╚═╝╝╚╝╩ ╩╩ ╩╝╚╝╚═╝╚═╝═╩╝
╩ ╩╩ ╩ ╚═╝╝╚╝╩ ╩╩ ╩╝╚╝╚═╝╚═╝═╩╝
`)
logger.info(`
- Server started successfully @ http://${host ? host : 'localhost'}:${port}