From d03580236f693c3694296e0ac353d41f77e113b1 Mon Sep 17 00:00:00 2001 From: Juraj Uhlar Date: Tue, 22 Oct 2024 15:21:04 +0100 Subject: [PATCH 1/2] fix: do not override vertical container padding --- src/client/components/Container/Container.module.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/client/components/Container/Container.module.scss b/src/client/components/Container/Container.module.scss index 9e234361..734ae964 100644 --- a/src/client/components/Container/Container.module.scss +++ b/src/client/components/Container/Container.module.scss @@ -1,6 +1,7 @@ .container { --contentWidth: 920px; - padding: 0 unquote('max(20px, calc((100vw - (100vw - 100%))/2) - var(--contentWidth) / 2)'); + padding-left: unquote('max(20px, calc((100vw - (100vw - 100%))/2) - var(--contentWidth) / 2)'); + padding-right: unquote('max(20px, calc((100vw - (100vw - 100%))/2) - var(--contentWidth) / 2)'); } .container.large { From c8480d4446fe51ee696ee1368674493d5058b915 Mon Sep 17 00:00:00 2001 From: Juraj Uhlar Date: Tue, 22 Oct 2024 15:21:18 +0100 Subject: [PATCH 2/2] fix: increase timestamp diff limit --- src/server/checks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/checks.ts b/src/server/checks.ts index 2d86e925..4bcc8a99 100644 --- a/src/server/checks.ts +++ b/src/server/checks.ts @@ -11,7 +11,7 @@ import { getServerRegion } from './fingerprint-server-api'; import { IS_DEVELOPMENT } from '../envShared'; export const IPv4_REGEX = /^((25[0-5]|(2[0-4]|1\d|[1-9]|)\d)\.){3}(25[0-5]|(2[0-4]|1\d|[1-9]|)\d)$/; -export const ALLOWED_REQUEST_TIMESTAMP_DIFF_MS = 4000; +export const ALLOWED_REQUEST_TIMESTAMP_DIFF_MS = 7000; // Demo origins. // It is recommended to use production origins instead.