Logo
Explore Help
Sign In
kennethnym/aris
1
0
Fork 0
You've already forked aris
mirror of https://github.com/kennethnym/aris.git synced 2026-05-08 01:21:18 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
400055ab8cc3e5e91f0d6cbfd0d0c07d5ea1dda0
aris/apps/aelis-client/src/api/auth-middleware.ts

7 lines
172 B
TypeScript
Raw Normal View History

feat(client): wire up API client and react-query (#75) * feat(client): wire up API client and react-query Add ApiClient class, auth middleware placeholder, feed query, and wrap the app in QueryClientProvider. Co-authored-by: Ona <no-reply@ona.com> * fix(client): append base url on api client req Co-authored-by: Ona <no-reply@ona.com> * fix(client): allow req middlewares to run on empty init * fix(client): rm unused private route declr * fix(client): handle empty url in client.request Co-authored-by: ona-patrol <ona@nym.sh> --------- Co-authored-by: Ona <no-reply@ona.com> Co-authored-by: ona-patrol <ona@nym.sh>
2026-03-15 17:10:32 +00:00
import { ApiRequestMiddleware } from "./client"
export const authMiddleware: ApiRequestMiddleware = (_url, init) => {
// TODO: placeholder auth middleware
return init
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 65ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API