Minerman
Minerman
NNuxt
Created by Minerman on 2/13/2025 in #❓・help
connection is not secure, even after configuring https in nuxt.config.ts
@kapa.ai how do I solve the error '[vite] failed to connect to websocket.'
24 replies
NNuxt
Created by Minerman on 2/13/2025 in #❓・help
connection is not secure, even after configuring https in nuxt.config.ts
@kapa.ai I am attempting to use useRequestFetch() to access my api routes. I am receiving an unauthorized error because the SetCookie header contains the 'secure' attribute. How can I remove this attribute only in my dev environment?
24 replies
NNuxt
Created by Minerman on 2/13/2025 in #❓・help
connection is not secure, even after configuring https in nuxt.config.ts
@kapa.ai what is the devServer.host option in my nuxt.config.ts?
24 replies
NNuxt
Created by Minerman on 2/13/2025 in #❓・help
connection is not secure, even after configuring https in nuxt.config.ts
@kapa.ai I am now using the --https flag, added the certificate to the trusted roots store, and have set the environment variable NODE_TLS_REJECT_UNAUTHORIZED=0. I am still seeing error that my connection is not secure. Do I need to reconfigre the port I serve my application on?
24 replies