mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-06-27 14:45:41 -04:00
disable caching for /api/auth/**
This commit is contained in:
@ -65,7 +65,15 @@ const nextConfig = {
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
{
|
||||
source: "/api/auth/(.*)",
|
||||
headers: [
|
||||
{
|
||||
key: "cache-control",
|
||||
value: "private, max-age=0",
|
||||
},
|
||||
],
|
||||
},
|
||||
// https://community.torproject.org/onion-services/advanced/onion-location/
|
||||
...(process.env.NEXT_PUBLIC_ONION_DOMAIN
|
||||
? [
|
||||
|
Reference in New Issue
Block a user