Firebase 托管上的 Next js 按需重新验证

问题描述 投票:0回答:1

可能只是因为 Firebase 托管目前不支持 ISR 的 Next js 按需重新验证。

问题:无论我触发 api 路由重新验证多少次

res.revalidate(path)
,页面都会更新。

Firebase 托管的下一个 js 按需重新验证是否需要一些独特的东西

firebase next.js firebase-hosting
1个回答
0
投票

截至 2024 年 1 月 19 日,此功能不受支持

https://github.com/firebase/firebase-tools/issues/5680

© www.soinside.com 2019 - 2024. All rights reserved.