I'm working with my site at https://mtgranks.herokuapp.com/
.
If you use the navigation options that appear when you click Sets
and select the Dominaria option, the site properly navigates to https://mtgranks.herokuapp.com/DOM
and loads the expected data.
The problem I am running into is if I type https://mtgranks.herokuapp.com/DOM
and try to directly navigate to it through the URL, the site will return a 404.
Below is my basic Router, please let me know if you'd like to see any other areas.
export default new Router({
mode: 'history',
base: process.env.BASE_URL,
routes: [
{
path: '',
name: 'home',
component: Home,
},
{
// TODO: Limit available URLs people can type in.
path: '/:set',
name: 'set',
component: Set
},
]
})