Global Middleware not executed
I am trying to use global Middleware for my server functions, and follow the docs and. Create src/global-middleware.ts and add it but not excuted
Should I don any further steps ?

6 Replies
national-goldOP•5mo ago
you can check what I do here
https://github.com/Mohammedelsayed412/tanstack-start-virtual-file-routes-build-issue
GitHub
GitHub - Mohammedelsayed412/tanstack-start-virtual-file-routes-buil...
Contribute to Mohammedelsayed412/tanstack-start-virtual-file-routes-build-issue development by creating an account on GitHub.
national-goldOP•5mo ago
@Manuel Schiller
vicious-gold•5mo ago
are you on windows?
and please... dont tag me
national-goldOP•5mo ago
yes windows
vicious-gold•5mo ago
so seems to be a windows issue
probably some slash thing
national-goldOP•5mo ago
I don't get it, is this file "global-middleware.ts" is used by default from tanstack start and maybe this cause the issue ?
as I don't get what slash issue would happen as I am only add just this file