Solved the problem by looking the the mix() source code. The problem was that I was running it locally in hot environment, so the code look for a /hot folder first, if it exists it will return localhost:8080. By building the frontend for production (npm run build), the url is the correct on.
Now I have a problem with webpack tho, the chunks are still request at the base url instead of the CDN :D any tips?