mirror of
https://github.com/tale/headplane.git
synced 2026-08-27 15:37:04 +00:00
feat: switch to config file system
This commit is contained in:
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user