k2so-dev / laravel-nuxt

Laravel and Nuxt.js boilerplate designed for development with maximum API performance, ready-made authorization methods, image uploading with optimization, user roles, device management
MIT License
143 stars 26 forks source link

HTTPS Redirect #4

Closed lucassmacedo closed 3 months ago

lucassmacedo commented 5 months ago

All my requests are going with https locally, is there any way to change this?

image

k2so-dev commented 5 months ago

Hi. You need to make sure that the local address for the API_URL variable in the env file is used.

lucassmacedo commented 5 months ago

Yes, it's. image

lucassmacedo commented 5 months ago

But it's http, not https.

k2so-dev commented 5 months ago

Another option is to check the browser setting "Upgrade connections to HTTPS". You can also try disabling the nuxt-security module by deleting it from the nuxt.config.ts along with the security settings

lucassmacedo commented 5 months ago

I tried the two ways. But stays the same.