Error ‘blocked:csp’ using NodeJS, ExpressJS, and EJS

Node:    12.19.0
Cors: 2.8.5
Helmet: 4.2.0
Express: 4.17.1

--

--

--

Full Stack Software Engineer (MERN) and a MS CS in Cybersecurity Engineering.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Blog Article 01 — Application Frameworks

JavaScript Best Practices — Objects and Invalid Syntax

Using the useCallback and useMemo Hooks in React Components

Maintainable JavaScript — Comparisons and Code Strings

JavaScript’s Async Await versus Promise: The Great Debate

Changing Scroll Behavior with Vue Router

Adopting Better JavaScript Code Style — Error Handling and Comparisons

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Zac Smith

Zac Smith

Full Stack Software Engineer (MERN) and a MS CS in Cybersecurity Engineering.

More from Medium

Parcel — Quick Start a Front-end Project with Zero Configuration

KOA Js & Rest Service

What is JWT. How to implement JWT based authentication in NodeJs?

How to implement JWT based authentication in NodeJs

5 Helpful Shorthands in TypeScript