fix(router): handle an extra slash when loading the index

fixes #680