randydev commited on
Commit
73b9451
·
verified ·
1 Parent(s): 4e30542

Update lib/@randydev/terabox.js

Browse files
Files changed (1) hide show
  1. lib/@randydev/terabox.js +4 -4
lib/@randydev/terabox.js CHANGED
@@ -1,13 +1,13 @@
1
  import axios from 'axios';
2
- import { trbtoken, trbrul } from '../config.js';
3
 
4
  async function TeraboxDownloader(url) {
5
  const options = {
6
  method: 'POST',
7
- url: `${trbrul}/fetch`,
8
  headers: {
9
- 'x-rapidapi-key': trdl,
10
- 'x-rapidapi-host': trbrul,
11
  'Content-Type': 'application/json'
12
  },
13
  data: { url: url }
 
1
  import axios from 'axios';
2
+ import { trbtoken, trburl } from '../config.js';
3
 
4
  async function TeraboxDownloader(url) {
5
  const options = {
6
  method: 'POST',
7
+ url: `${trburl}/fetch`,
8
  headers: {
9
+ 'x-rapidapi-key': trbtoken,
10
+ 'x-rapidapi-host': trburl,
11
  'Content-Type': 'application/json'
12
  },
13
  data: { url: url }