mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2025-10-22 14:43:10 +00:00

Refactored main.js to optimize module and server loading, improving code clarity and lazy loading. Updated several dependencies in package.json to their latest versions for better security and compatibility. Updated documentation cover page and home page to reflect project branding changes. Co-Authored-By: binaryify <binaryify@gmail.com>
14 lines
344 B
JavaScript
14 lines
344 B
JavaScript
const createOption = (query, crypto = '') => {
|
|
return {
|
|
crypto: query.crypto || crypto || '',
|
|
cookie: query.cookie,
|
|
ua: query.ua || '',
|
|
proxy: query.proxy,
|
|
realIP: query.realIP,
|
|
e_r: query.e_r || undefined,
|
|
domain: query.domain || '',
|
|
checkToken: query.checkToken || false,
|
|
}
|
|
}
|
|
module.exports = createOption
|