Skip to content

Commit

Permalink
fix: CSP error
Browse files Browse the repository at this point in the history
  • Loading branch information
wellyshen committed Aug 9, 2020
1 parent b43ffd3 commit ee21907
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-cool-starter",
"version": "3.10.0",
"version": "3.10.1",
"description": "A starter boilerplate for a universal web application with the best development experience and best practices.",
"license": "MIT",
"homepage": "https://github.com/wellyshen/react-cool-starter",
Expand Down
2 changes: 1 addition & 1 deletion src/server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import config from "./config";
const app = express();

// Use helmet to secure Express with various HTTP headers
app.use(helmet());
app.use(helmet({ contentSecurityPolicy: false }));
// Prevent HTTP parameter pollution
app.use(hpp());
// Compress all requests
Expand Down

0 comments on commit ee21907

Please sign in to comment.