auto determine router start path by base href