mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-25 00:48:22 +03:00
object-curly-spacing
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {NextFunction, Request, Response} from "express";
|
||||
import { NextFunction, Request, Response } from "express";
|
||||
|
||||
export function apiCspMiddleware(req: Request, res: Response, next: NextFunction): void {
|
||||
res.header("Content-Security-Policy", "script-src 'none'; object-src 'none'");
|
||||
|
||||
Reference in New Issue
Block a user