Openstatus www.openstatus.dev
6
fork

Configure Feed

Select the types of activity you want to include in your feed.

chore: enable experimental flag (#1565)

authored by

Maximilian Kaske and committed by
GitHub
20d0eeac f781b1f0

+4
+3
apps/status-page/next.config.ts
··· 3 3 import type { NextConfig } from "next"; 4 4 5 5 const nextConfig: NextConfig = { 6 + experimental: { 7 + authInterrupts: true, 8 + }, 6 9 images: { 7 10 remotePatterns: [ 8 11 new URL("https://openstatus.dev/**"),
+1
apps/status-page/src/app/(status-page)/[domain]/(public)/feed/[type]/route.ts
··· 30 30 if (page.passwordProtected) { 31 31 const url = new URL(_request.url); 32 32 const password = url.searchParams.get("pw"); 33 + console.log({ url, page, password }); 33 34 if (password !== page.password) return unauthorized(); 34 35 } 35 36