Hi, guys.
i´m moving app into production. Everything works fine when i´m using blade templates, but when i use vue components i´m getting an error "mixed content", axios is calling route api´s using http instead of https, aws block these petitions.
I have also tried editing default axios baseUrl and adding a meta tag in main layout, but i´m being redirected to the main route, example: https://my-website.com.mx uses blade templates, it works fine, but the admin panel https://my-website.com.mx/user uses vuejs, when i´m using meta tag or baseURL, i get redirected to the main page (/),
Does it make any difference if you were to hard code the base URL in the URL variable and do it that way? Is this production website online somewhere, so I can have a look at it?
@drewdan thank you bro, i spend hours trying to solve this problem, and thanks to you I was able to find it. I used postman in different api routes, some of them worked well, but I found that some of them had an extra slash at the end. so i changed from:
'/api/cities/'
to:
'/api/cities'
and it worked!!!!
*p.s: sorry, i´m working to improve my english haha xd