Skip to content

Commit

Permalink
Merge pull request #448 from lsst-epo/add_revalidate_log
Browse files Browse the repository at this point in the history
Added debug line to `revalidate.js`
  • Loading branch information
ericdrosas87 authored May 23, 2024
2 parents 9baccde + 547f449 commit 0062828
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pages/api/revalidate.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ async function handler(req, res) {
receivedToken: query.secret,
});

console.debug({
modifiedEnvVar: process.env.NEXT_PUBLIC_CRAFT_REVALIDATE_SECRET_TOKEN,
});

if (isPreview) {
return res.status(401).json({
message:
Expand Down

0 comments on commit 0062828

Please sign in to comment.