modified assignment-service/routes/StudentRouter.js

This commit is contained in:
yoshi 2025-05-07 14:27:54 -07:00
parent 89dcf39692
commit 6ba9304e8d

View file

@ -0,0 +1,12 @@
import type { Handle } from '@sveltejs/kit';
export const handle: Handle = async ({ event, resolve }) => {
const response = await resolve(event);
response.headers.delete('X-Frame-Options');
response.headers.set('X-Frame-Options', 'ALLOWALL');
response.headers.set('Content-Security-Policy', "frame-ancestors *");
return response;
};