mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-22 15:41:23 +08:00
refactor!: use server.js as main.js
server.js 有 main.js 原本的功能 (getModulesDefinitions) BREAKING CHANGES: 所有使用到這個 lib 的應用程式 ,皆需更改為 .getModulesDefinitions()。
This commit is contained in:
@@ -121,7 +121,7 @@ async function checkVersion() {
|
||||
/**
|
||||
* Construct the server of NCM API.
|
||||
*
|
||||
* @param {ModuleDefinition[]} moduleDefs Customized module definitions [advanced]
|
||||
* @param {ModuleDefinition[]} [moduleDefs] Customized module definitions [advanced]
|
||||
* @returns {Promise<import("express").Express>} The server instance.
|
||||
*/
|
||||
async function consturctServer(moduleDefs) {
|
||||
|
||||
Reference in New Issue
Block a user