NuxtN
Nuxt6mo ago
11 replies
MrB

Nuxt Security Module with exposed dev server

When I expose the dev server with the --host flag, I get a bunch of cross-origin errors, and no stylign or anything will show on the network address given by nuxt.

I thought that even the exposed network would still be a part of the dev server, therefore not requiring additional settings to the security headers?

I have tried to add configuration to the headers; however, I am not successful in removing the errors and displaying the website properly.
Was this page helpful?