Skip to content

Commit

Permalink
resolved in index.js and also changes
Browse files Browse the repository at this point in the history
  • Loading branch information
developersteve committed May 20, 2024
1 parent 8fa2bae commit d72dcc0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,3 @@ dist
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
node_modules
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ app.post("/", (req, res) => {
.split("\n")
.find((line) => line.includes("open /tmp"))
.trim();
const cidFromPath = openLine.split("/").pop();
const cidFromPath = openLine.split("/").pop().trim();

const url = stdout
.split("\n")
Expand Down

0 comments on commit d72dcc0

Please sign in to comment.