Added types for queues/proxy
This commit is contained in:
parent
456b1b8074
commit
94da008a47
1 changed files with 4 additions and 1 deletions
|
|
@ -1,7 +1,10 @@
|
|||
import { ErrorHandler } from '$lib/database';
|
||||
import { configureHAProxy } from '$lib/haproxy/configuration';
|
||||
|
||||
export default async function () {
|
||||
export default async function (): Promise<void | {
|
||||
status: number;
|
||||
body: { message: string; error: string };
|
||||
}> {
|
||||
try {
|
||||
return await configureHAProxy();
|
||||
} catch (error) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue