I need to build my angular v12 app with electron.
Everything work as expected, but the app isn't capable of reading the assets.
I have read that I should change the base ref, into the index.html
to be like this <base href="./">
But doing so makes my app not working properly with the guards I did implement. It does change the location and add /en/
if you are english, /de/
if you're germane, ...
So I'm trying to find another solution to loads the assets without having to change the base ref.
Does somebody have any idea?