bcgov / agri-dcbr

The Ministry of Agriculture registry for dog and cat breeders and sellers.
Apache License 2.0
0 stars 5 forks source link

Fix routing in Vue app #78

Closed esune closed 5 years ago

esune commented 5 years ago

This should fix the application not being able to load the home page when running in production mode.

The vue router needs to know where to route the application when the / path is requested, otherwise it will display an empty page (without components in the body).

I tested the change locally by running in production mode (/manage start) and the issue appears to be fixed.

sam-warren commented 5 years ago

The reason for the change was to allow for programmatic route protection - I will pull it in for now to get the production environment working again and work on a PR today to re-enable the protected routes.