This commit is contained in:
Patrick Alvin Alcala 2025-11-24 16:33:12 +08:00
parent fe90f5988a
commit 499e1530cc
9 changed files with 195 additions and 9 deletions

View file

@ -1,3 +1,6 @@
import { atom } from 'nanostores'
export const $backendUrl = atom('http://localhost:8080')
export const $requestRetries = atom<number>(3)
export const $requestRetryCodes = atom<Array<number>>([400, 404, 405, 500, 502])