laravel-nuxt icon indicating copy to clipboard operation
laravel-nuxt copied to clipboard

HTTPS Redirect

Open lucassmacedo opened this issue 11 months ago • 5 comments

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

image

lucassmacedo avatar Mar 22 '24 16:03 lucassmacedo

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

k2so-dev avatar Mar 22 '24 17:03 k2so-dev

Yes, it's. image

lucassmacedo avatar Mar 22 '24 18:03 lucassmacedo

But it's http, not https.

lucassmacedo avatar Mar 22 '24 18:03 lucassmacedo

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

k2so-dev avatar Mar 22 '24 18:03 k2so-dev

I tried the two ways. But stays the same.

lucassmacedo avatar Mar 27 '24 18:03 lucassmacedo