feat: switch to config file system
This commit is contained in:
parent
5be3cb345e
commit
76d263b7e6
28 changed files with 1071 additions and 883 deletions
|
|
@ -3,3 +3,7 @@ import { data } from 'react-router';
|
|||
export function send<T>(payload: T, init?: number | ResponseInit) {
|
||||
return data(payload, init);
|
||||
}
|
||||
|
||||
export function send401<T>(payload: T) {
|
||||
return data(payload, { status: 401 });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue