From 232d0e1ae0f23949612e5be7dfd99a8bc4636190 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Wed, 29 Apr 2026 20:23:38 +0000 Subject: [PATCH] Added configurable timeout settings to paskia-js, used in our frontend as well. The default fetch timeout has been changed to 10s from prior 1s, but we maintain 1s for auth endpoints in internal use. --- frontend/auth/App.vue | 6 +++--- frontend/auth/admin/AdminApp.vue | 4 ++-- frontend/int/reset/ResetApp.vue | 5 +++-- frontend/src/components/RestrictedAuth.vue | 8 ++++---- frontend/src/stores/auth.js | 9 ++++---- paskia-js/README.md | 24 ++++++++++++++++++++++ paskia-js/src/fetch.ts | 5 ++--- paskia-js/src/index.ts | 2 ++ paskia-js/src/settings.ts | 6 ++++++ paskia-js/src/validate.ts | 10 ++++----- 10 files changed, 55 insertions(+), 24 deletions(-) create mode 100644 paskia-js/src/settings.ts diff --git a/frontend/auth/App.vue b/frontend/auth/App.vue index 1ebb732..3933b54 100644 --- a/frontend/auth/App.vue +++ b/frontend/auth/App.vue @@ -13,7 +13,7 @@