chore: do new design mockup

This commit is contained in:
HorizonCode committed 2025-06-26 23:37:56 +02:00
1 parent 0365a0fb9a
commit e4441c98e3
44 files changed
+2145 -2627

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
import ky from 'ky';
const BANCHO_ENDPOINT = 'https://c.ez-pp.farm/';
export const ezppfarm = {
ping: async (): Promise<number | undefined> => {
try {
const start = Date.now();
const request = await ky(BANCHO_ENDPOINT);
if (!request.ok) return undefined;
const ping = Date.now() - start;
return ping;
} catch {
return undefined;
}
},
};