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 { 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.