Laravel - Middleware triggered while it should not?
问题 I'm using Laravel 5.4 and Vuejs 2.3 along with VueRouter I have a website that consists of two parts example.com example.com/tools Problem If I am at example.com/tools and if I reload the page to the same address example.com/tools the middleware checkUsersPublic is triggered whereas it is only linked to / . Edit If I remove { path: '/tools', component: Stats } from VueRouter.js the middleware is not triggered anymore Question What should I do change so the middleware is not triggered ? Routes