Skip to content

Commit

Permalink
Some fix
Browse files Browse the repository at this point in the history
  • Loading branch information
laontme committed Jun 22, 2020
1 parent 056565b commit e2c7a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/direct.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const megajs = require('megajs');
const filetype = require('file-type');

module.exports = async (req, res) => {
let link = decodeURIComponent(req.params.link);
let link = decodeURIComponent(req.query.link);
let file = megajs.file(link);
const options = {
maxConnections: 10,
Expand Down

0 comments on commit e2c7a2e

Please sign in to comment.