fullpwerr commited on
Commit
de913e8
·
1 Parent(s): 06b6bdf
Files changed (2) hide show
  1. app.js +1 -1
  2. lib/spotify.js +1 -1
app.js CHANGED
@@ -29,7 +29,7 @@ app.use("/cdn", express.static(path.join(__dirname, "cdn")));
29
  app.use("/tmp", express.static(path.join(__dirname, "tmp")));
30
 
31
  app.get("/", (req, res) => {
32
- res.send({ error: "NIGGA"})
33
  });
34
  app.post("/api", apis);
35
  app.get("/download", downloadf);
 
29
  app.use("/tmp", express.static(path.join(__dirname, "tmp")));
30
 
31
  app.get("/", (req, res) => {
32
+ res.send({ status: 401, message: "You don't have access to this!"})
33
  });
34
  app.post("/api", apis);
35
  app.get("/download", downloadf);
lib/spotify.js CHANGED
@@ -79,7 +79,7 @@ async function spotifyTrack(trackUrl) {
79
  const taggedSongBuffer = Buffer.from(writer.arrayBuffer);
80
  await fs.writeFileSync(`${dirTmp}/${FilenameM}`, taggedSongBuffer);
81
 
82
- const URI = `https://beta.wzblueline.xyz/tmp/${FilenameM}`;
83
 
84
  const res = {
85
  status: 200,
 
79
  const taggedSongBuffer = Buffer.from(writer.arrayBuffer);
80
  await fs.writeFileSync(`${dirTmp}/${FilenameM}`, taggedSongBuffer);
81
 
82
+ const URI = `https://fullpwerr-hutatools.hf.space/tmp/${FilenameM}`;
83
 
84
  const res = {
85
  status: 200,