We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6aa81df commit 8f60f43Copy full SHA for 8f60f43
demos/default/pages/api/revalidate.js
@@ -3,9 +3,9 @@ export default async function handler(req, res) {
3
const select = Number(query.select) || 0
4
5
const paths = [
6
- 'getStaticProps/with-revalidate', // missing leading/trailing slash
7
- '/getStaticProps/with-revalidate', // missing trailing slash
8
'/getStaticProps/with-revalidate/', // valid path
+ '/getStaticProps/with-revalidate', // missing trailing slash
+ 'getStaticProps/with-revalidate', // missing leading/trailing slash
9
'/en/getStaticProps/with-revalidate/', // valid path (with locale)
10
'/fr/getStaticProps/with-revalidate/', // valid path (with locale)
11
'/', // valid path (index)
0 commit comments