Closed DoFabien closed 2 years ago
Change some absolute paths to relative.
For Osm Go to work with a subdirectory, we need to add the --base-href parameter to ng build
Example : ng build --configuration production --base-href=/OsmGo/
We can test this locally,
ng build --configuration production --base-href=/www/
for example with http-server In root directory : http-server .
"http://127.0.0.1:8080/www/ " should work
I fixed the build cmd in the GH Actions pipeline. Running a deployment test now. I'll merge this PR once the deployment has been successful and I've reverted 30924e6.
Change some absolute paths to relative.
For Osm Go to work with a subdirectory, we need to add the --base-href parameter to ng build
Example : ng build --configuration production --base-href=/OsmGo/
We can test this locally,
for example with http-server In root directory : http-server .
"http://127.0.0.1:8080/www/ " should work