Skip to content

Scheduling infrastructure for absolutely everyone.

Block /auth/:path, nothing else. (#6949)

Alex van Andelf7445bf8a19a
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index b76ea1b2734..ddbc2043e20 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -185,8 +185,16 @@ const nextConfig = {
async headers() {
return [
{
- // prettier-ignore
- source: "/:path*((?<!\/embed$)(?<!\/embed\/preview\.html$))",
+ source: "/auth/:path*",
+ headers: [
+ {
+ key: "X-Frame-Options",
+ value: "DENY",
+ },
+ ],
+ },
+ {
+ source: "/signup",
headers: [
{
key: "X-Frame-Options",