Skip to content

Allow /api routes to be private to the client app #16441

Answered by bscaspar
stopyransky asked this question in Help
Discussion options

You must be logged in to vote

It looks like @leerob implemented something like this in the on-demand ISR demo in the pages/api/webhook.js file, check it out here: https://github.com/leerob/on-demand-isr/blob/main/pages/api/webhook.js

Replies: 9 comments 8 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@jca41
Comment options

Comment options

You must be logged in to vote
1 reply
@stopyransky
Comment options

Comment options

You must be logged in to vote
1 reply
@stopyransky
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@leerob
Comment options

@Deveshb15
Comment options

@flacial
Comment options

@Crinchy
Comment options

@Namnp1521
Comment options

Answer selected by leerob
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet