Skip to content

Commit

Permalink
Undoing last changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrettgaither committed Apr 18, 2024
1 parent 867fd38 commit 782817c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ app.get('/', (req, res) => {
timestamp: Date.now()
};

const dataAsString = JSON.stringify(data);
const minString = dataAsString.replace(/\s+/g, '');

res.json(JSON.parse(minString));
res.json(data);

});

Expand Down

0 comments on commit 782817c

Please sign in to comment.