Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #1030 from YXL76/main
Browse files Browse the repository at this point in the history
🐞fix: import config with ext
  • Loading branch information
Binaryify authored Nov 18, 2020
2 parents a3be498 + 2acd96c commit 6e1a5b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion module/homepage_dragon_ball.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// 这个接口为移动端接口,首页-发现页(每日推荐、歌单、排行榜 那些入口)
// 数据结构可以参考 https://github.com/hcanyz/flutter-netease-music-api/blob/master/lib/src/api/uncategorized/bean.dart#L290 HomeDragonBallWrap
// !需要登录或者匿名登录,非登录返回 []
const config = require('../util/config')
const config = require('../util/config.json')
module.exports = (query, request) => {
if (typeof query.cookie === 'string') {
query.cookie = cookieToJson(query.cookie)
Expand Down
2 changes: 1 addition & 1 deletion module/simi_artist.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// 相似歌手
const config = require('../util/config')
const config = require('../util/config.json')
module.exports = (query, request) => {
if (typeof query.cookie === 'string') {
query.cookie = cookieToJson(query.cookie)
Expand Down

1 comment on commit 6e1a5b9

@vercel
Copy link

@vercel vercel bot commented on 6e1a5b9 Nov 18, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.