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;

}

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

1 Replies

2 years ago

Please provide any errors you are getting.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...