diff --git a/README.md b/README.md index 65532a6..147c3e4 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 72971cd..3255c49 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 baba2fa..d059f6c 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 02c9768..c5619a9 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 ab7f322..8ec71f3 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 0e3c79a..d6cd4bc 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 4ec0817..0e403b5 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 c656887..e09ef38 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; } }