fix: add middleware.ts since it's not next v16 for proxy
proxy.ts
which is middleware.ts in order to fix the redirecting to auth from non-auth page
middleware.ts
the version