Skip to content

Commit

Permalink
cache update
Browse files Browse the repository at this point in the history
  • Loading branch information
jack03042 committed Apr 11, 2024
1 parent 60763f8 commit 1efcba7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ app.listen(port, () => {
});

app.get('/paystack-key', (req, res) => {
res.send({ key: process.env.PAYSTACK_PUBLIC_KEY });
res.set('Cache-Control', 'no-store');
res.json({ key: process.env.PAYSTACK_PUBLIC_KEY });
});


0 comments on commit 1efcba7

Please sign in to comment.