This commit is contained in:
Abhinav 2021-12-03 20:20:56 +05:30
parent 20d65749c9
commit 7df09a17ea
2 changed files with 1 additions and 2 deletions

View file

@ -9,4 +9,4 @@
X-XSS-Protection: 1; mode=block
Referrer-Policy: same-origin
Content-Security-Policy: default-src 'none'; img-src 'self' blob:; style-src 'self' 'unsafe-inline'; font-src 'self'; script-src 'self' 'unsafe-eval'; connect-src 'self' https://*.ente.io data:; report-uri https://csp-reporter.ente.workers.dev; report-to https://csp-reporter.ente.workers.dev;

View file

@ -2,7 +2,6 @@ import React from 'react';
import Document, { Html, Head, Main, NextScript } from 'next/document';
import { ServerStyleSheet } from 'styled-components';
//
export default class MyDocument extends Document {
static async getInitialProps(ctx) {
const sheet = new ServerStyleSheet();