Skip to content

Commit

Permalink
remove unneeded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bourgeoa committed Mar 1, 2024
1 parent 3554af9 commit 0ff4cc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ app.all('*', async (req, res, next) => {
try{
const solidRestRequest = mungeRestRequest(req);
const solidRestResponse = await client.fetch(filePath,solidRestRequest);
let content = (await solidRestResponse.body).toString('utf8');
let content = solidRestResponse.body.toString();
res = mungeRestResponse(res,solidRestResponse);
res.send(content)
res.send(content);
}
catch(e){console.log(e)}
next()
Expand Down

0 comments on commit 0ff4cc7

Please sign in to comment.