chore: add waf

This commit is contained in:
2026-03-15 13:31:48 +01:00
parent 2e7340f9a6
commit 42276ca4ff
18 changed files with 164 additions and 3508 deletions
+3 -3
View File
@@ -6,8 +6,8 @@ import type {
Alert,
} from "./types";
const API = "http://5.181.0.112/api/v1/cabine";
const V2 = "http://5.181.0.112/api/v2";
const API = "https://5.181.0.112.nip.io/api/v1/cabine";
const V2 = "https://5.181.0.112.nip.io/api/v2";
// ============================================
// ITEMS
@@ -395,7 +395,7 @@ export const markCabineNotificationsRead = async (): Promise<void> => {
export const getPublicSettings = async (): Promise<PublicSettings> => {
try {
const { data } = await apiClient.get(
`http://5.181.0.112/api/v1/app-settings`,
`https://5.181.0.112.nip.io/api/v1/app-settings`,
);
return {
penalties_enabled: data.penalties_enabled ?? true,