Skip to content

Commit a197783

Browse files
committed
chore: add comment about paths to revalidate endpoint
1 parent f85d2f5 commit a197783

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

demos/default/pages/api/revalidate.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ export default async function handler(req, res) {
22
const query = req.query
33
const select = Number(query.select) || 0
44

5+
// these paths are used for e2e testing res.revalidate()
56
const paths = [
67
'/getStaticProps/with-revalidate/', // valid path
78
'/fr/getStaticProps/with-revalidate/', // valid path (with locale)

0 commit comments

Comments
 (0)