From a0d5a1356bc84c59781684ecad7eeeeabc1b4590 Mon Sep 17 00:00:00 2001 From: Taraslysak Date: Sun, 19 Oct 2025 11:10:44 +0300 Subject: [PATCH] switched to .de domain --- README.md | 2 ++ back/app/config.py | 2 +- back/app/templates/response_to_candidate.html | 10 +++++----- back/app/templates/response_to_client.html | 10 +++++----- front/next.config.js | 2 +- front/src/app/constants-server.ts | 2 +- front/src/app/constants.ts | 2 +- .../src/components/Sections/HeaderSection.module.scss | 6 +++--- 8 files changed, 19 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 65532a61..147c3e48 100644 --- a/README.md +++ b/README.md @@ -97,3 +97,5 @@ if you use git submodule use this command to pull submodule ``` git submodule update --init --recursive ``` + +NOTE: on 10.19.2025 We switched all static assets to be served from static.simple2b.de domain because static files are stored in S3 bucket and routed using AWS Route53 and Cloudfront diff --git a/back/app/config.py b/back/app/config.py index 72971cda..3255c49f 100644 --- a/back/app/config.py +++ b/back/app/config.py @@ -5,7 +5,7 @@ test_env_file = os.path.abspath("tests/test.env") -IMG_DOMAIN_SERVER = "https://static.simple2b.com" +IMG_DOMAIN_SERVER = "https://static.simple2b.de" def get_version() -> str: diff --git a/back/app/templates/response_to_candidate.html b/back/app/templates/response_to_candidate.html index baba2fa8..d059f6c2 100644 --- a/back/app/templates/response_to_candidate.html +++ b/back/app/templates/response_to_candidate.html @@ -26,8 +26,8 @@ .bg-styles { color: #718096; background-image: - url(https://static.simple2b.com/email/user-response.png), - url(https://static.simple2b.com/email/user-response-2.png); + url(https://static.simple2b.de/email/user-response.png), + url(https://static.simple2b.de/email/user-response-2.png); background-repeat: no-repeat, no-repeat; background-position: left, right; background-size: 232px, 160px; @@ -36,8 +36,8 @@ @media screen and (max-width: 972px) { .bg-styles { background-image: - url(https://static.simple2b.com/email/user-response.png), - url(https://static.simple2b.com/email/user-response-2.png); + url(https://static.simple2b.de/email/user-response.png), + url(https://static.simple2b.de/email/user-response-2.png); background-repeat: no-repeat, no-repeat; background-position: left, right; @@ -61,7 +61,7 @@
- +
diff --git a/back/app/templates/response_to_client.html b/back/app/templates/response_to_client.html index 02c9768f..c5619a92 100644 --- a/back/app/templates/response_to_client.html +++ b/back/app/templates/response_to_client.html @@ -26,8 +26,8 @@ .bg-styles { color: #718096; background-image: - url(https://static.simple2b.com/email/user-response.png), - url(https://static.simple2b.com/email/user-response-2.png); + url(https://static.simple2b.de/email/user-response.png), + url(https://static.simple2b.de/email/user-response-2.png); background-repeat: no-repeat, no-repeat; background-position: left, right; background-size: 232px, 160px; @@ -36,8 +36,8 @@ @media screen and (max-width: 972px) { .bg-styles { background-image: - url(https://static.simple2b.com/email/user-response.png), - url(https://static.simple2b.com/email/user-response-2.png); + url(https://static.simple2b.de/email/user-response.png), + url(https://static.simple2b.de/email/user-response-2.png); background-repeat: no-repeat, no-repeat; background-position: left, right; @@ -55,7 +55,7 @@
- +
diff --git a/front/next.config.js b/front/next.config.js index ab7f322b..8ec71f30 100644 --- a/front/next.config.js +++ b/front/next.config.js @@ -12,7 +12,7 @@ const nextConfig = { remotePatterns: [ { protocol: 'https', - hostname: 'static.simple2b.com', + hostname: 'static.simple2b.de', port: '', }, ], diff --git a/front/src/app/constants-server.ts b/front/src/app/constants-server.ts index 0e3c79ab..d6cd4bcc 100644 --- a/front/src/app/constants-server.ts +++ b/front/src/app/constants-server.ts @@ -1,4 +1,4 @@ /**For server components */ -export const IMG_DOMAIN_SERVER = 'https://static.simple2b.com'; +export const IMG_DOMAIN_SERVER = 'https://static.simple2b.de'; // load package version from package.json export const PACKAGE_VERSION = require('../../package.json').version; diff --git a/front/src/app/constants.ts b/front/src/app/constants.ts index 4ec08175..0e403b58 100644 --- a/front/src/app/constants.ts +++ b/front/src/app/constants.ts @@ -1,7 +1,7 @@ 'use client'; /**For client components */ -export const IMG_DOMAIN = 'https://static.simple2b.com'; +export const IMG_DOMAIN = 'https://static.simple2b.de'; // load package version from package.json export const PACKAGE_VERSION = require('../../package.json').version; diff --git a/front/src/components/Sections/HeaderSection.module.scss b/front/src/components/Sections/HeaderSection.module.scss index c6568878..e09ef38b 100644 --- a/front/src/components/Sections/HeaderSection.module.scss +++ b/front/src/components/Sections/HeaderSection.module.scss @@ -31,7 +31,7 @@ height: 514px; left: 0; top: 0; - background: url('https://static.simple2b.com/others/dust1.png'); + background: url('https://static.simple2b.de/others/dust1.png'); transition: transform 0.5s ease-out; } @@ -41,7 +41,7 @@ height: 100%; left: 0; top: 0; - background: url('https://static.simple2b.com/others/dust2.png'); + background: url('https://static.simple2b.de/others/dust2.png'); transition: transform 0.5s ease-out; } @@ -51,7 +51,7 @@ height: 386px; left: 115px; top: 100px; - background: url('https://static.simple2b.com/others/dust3.png'); + background: url('https://static.simple2b.de/others/dust3.png'); transition: transform 0.5s ease-out; } }