Well on graphopper site you can choose between 3 different bikes. For now it stills navigates through the side road ...

https://graphhopper.com/maps/?point=46.773557%2C7.112903&point=46.784142%2C7.127314&profile=racingbike&layer=Omniscale