Error deploying
kimqi1
TRIALOP
2 years ago
I am using next js
I have this code placed inside pages/_middleware.js
import { NextResponse } from 'next/server';
export function middleware(req) {
const response = NextResponse.next();
// Set custom headers or perform other middleware logic here
response.headers.set('Content-Security-Policy', "frame-ancestors 'self' https://inteliflora.com/");
return response;
}
ⓘ Deployment information is only viewable by Project members and Railway admins.