mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-10-24 08:31:23 +08:00
fix(require): fix modules not defined
This commit is contained in:
+1
-2
@@ -12,7 +12,6 @@
|
||||
</div>
|
||||
<script src="https://fastly.jsdelivr.net/npm/[email protected]/dist/axios.min.js"></script>
|
||||
<script>
|
||||
const logger = require('../util/logger.js')
|
||||
async function main() {
|
||||
const res = await axios({
|
||||
url: `/homepage/block/page`,
|
||||
@@ -22,7 +21,7 @@
|
||||
method: 'post',
|
||||
})
|
||||
let cursor = ''
|
||||
logger.info(res.data.data)
|
||||
console.info(res.data.data)
|
||||
if (res.data.data.hasMore) {
|
||||
cursor = res.data.data.cursor
|
||||
const res2 = await axios({
|
||||
|
||||
Reference in New Issue
Block a user