diff --git a/.framework/java/charts/templates/anythink-backend-deployment.yaml b/.framework/java/charts/templates/anythink-backend-deployment.yaml index 7b209f500..c03d3ccd6 100644 --- a/.framework/java/charts/templates/anythink-backend-deployment.yaml +++ b/.framework/java/charts/templates/anythink-backend-deployment.yaml @@ -26,7 +26,7 @@ spec: - name: APP_ENV value: dev - name: SECRET_KEY - value: secret + value: e6F9KvSDf4dyXj - name: DEBUG value: "True" - name: DATABASE_URL diff --git a/.framework/node/backend/app.js b/.framework/node/backend/app.js index f4e7f355a..1a1d5a802 100644 --- a/.framework/node/backend/app.js +++ b/.framework/node/backend/app.js @@ -27,7 +27,7 @@ app.use(express.static(__dirname + "/public")); app.use( session({ - secret: "secret", + secret: "e6F9KvSDf4dyXj", cookie: { maxAge: 60000 }, resave: false, saveUninitialized: false diff --git a/.framework/node/backend/config/index.js b/.framework/node/backend/config/index.js index 1bf9d6a12..f69b9957e 100644 --- a/.framework/node/backend/config/index.js +++ b/.framework/node/backend/config/index.js @@ -1,3 +1,3 @@ module.exports = { - secret: process.env.NODE_ENV === 'production' ? process.env.SECRET : 'secret' + secret: process.env.NODE_ENV === 'production' ? process.env.SECRET : 'e6F9KvSDf4dyXj' }; diff --git a/.framework/python/backend/app/core/settings/app.py b/.framework/python/backend/app/core/settings/app.py index fc0c6060a..83205009a 100644 --- a/.framework/python/backend/app/core/settings/app.py +++ b/.framework/python/backend/app/core/settings/app.py @@ -22,7 +22,7 @@ class AppSettings(BaseAppSettings): max_connection_count: int = 5 min_connection_count: int = 5 - secret_key: SecretStr = SecretStr("secret") + secret_key: SecretStr = SecretStr("e6F9KvSDf4dyXj") api_prefix: str = "/api" diff --git a/.framework/python/backend/app/core/settings/test.py b/.framework/python/backend/app/core/settings/test.py index bea3c53b8..2b9b15c7b 100644 --- a/.framework/python/backend/app/core/settings/test.py +++ b/.framework/python/backend/app/core/settings/test.py @@ -10,7 +10,7 @@ class TestAppSettings(AppSettings): title: str = "Test FastAPI example application" - secret_key: SecretStr = SecretStr("test_secret") + secret_key: SecretStr = SecretStr("e6F9KvSDf4dyXj") database_url: PostgresDsn max_connection_count: int = 5 diff --git a/.framework/python/backend/pyproject.toml b/.framework/python/backend/pyproject.toml index b974ae6fa..926fa1d3e 100644 --- a/.framework/python/backend/pyproject.toml +++ b/.framework/python/backend/pyproject.toml @@ -62,7 +62,7 @@ addopts = ''' --asyncio-mode=auto ''' env = [ - "SECRET_KEY=secret", + "SECRET_KEY=e6F9KvSDf4dyXj", "MAX_CONNECTIONS_COUNT=1", "MIN_CONNECTIONS_COUNT=1" ] diff --git a/.framework/python/charts/templates/anythink-backend-deployment.yaml b/.framework/python/charts/templates/anythink-backend-deployment.yaml index 3997ff52e..e0febba77 100644 --- a/.framework/python/charts/templates/anythink-backend-deployment.yaml +++ b/.framework/python/charts/templates/anythink-backend-deployment.yaml @@ -26,7 +26,7 @@ spec: - name: APP_ENV value: dev - name: SECRET_KEY - value: secret + value: e6F9KvSDf4dyXj - name: DEBUG value: "True" - name: DATABASE_URL