1 parent 5d45b60 commit 04c20faCopy full SHA for 04c20fa
1 file changed
next.config.js
@@ -1,5 +1,14 @@
1
/** @type {import('next').NextConfig} */
2
const nextConfig = {
3
+ async headers() {
4
+ const noStore = [{ key: "Cache-Control", value: "no-store" }];
5
+ return [
6
+ { source: "/", headers: noStore },
7
+ { source: "/player", headers: noStore },
8
+ { source: "/watch", headers: noStore },
9
+ { source: "/shorts/:id", headers: noStore },
10
+ ];
11
+ },
12
async rewrites() {
13
return [
14
{
0 commit comments