-
I'm trying to deploy an app on Heroku that already uses the new Vite plugin but I'm getting this "https required" errors: Trying to solve the problem I noticed that the Vite manifest generated by the build command doesn't specify the origin or the protocol of the asset urls. But the Is there any way to change this origin or even disable it to prevent these errors and the assets being loaded? Can anyone help me or guide me in some way? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Set env |
Beta Was this translation helpful? Give feedback.
-
SolutionRecently the Laravel core team added an env variable to customize the assets URL prefix.
|
Beta Was this translation helpful? Give feedback.
Solution
Recently the Laravel core team added an env variable to customize the assets URL prefix.
So just configure this variable in your admin panel: