Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update secret #53

Merged
merged 10 commits into from
Oct 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- name: APP_ENV
value: dev
- name: SECRET_KEY
value: secret
value: e6F9KvSDf4dyXj
- name: DEBUG
value: "True"
- name: DATABASE_URL
Expand Down
2 changes: 1 addition & 1 deletion .framework/node/backend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ app.use(express.static(__dirname + "/public"));

app.use(
session({
secret: "secret",
secret: "e6F9KvSDf4dyXj",
cookie: { maxAge: 60000 },
resave: false,
saveUninitialized: false
Expand Down
2 changes: 1 addition & 1 deletion .framework/node/backend/config/index.js
Original file line number Diff line number Diff line change
@@ -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'
};
2 changes: 1 addition & 1 deletion .framework/python/backend/app/core/settings/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion .framework/python/backend/app/core/settings/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .framework/python/backend/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ addopts = '''
--asyncio-mode=auto
'''
env = [
"SECRET_KEY=secret",
"SECRET_KEY=e6F9KvSDf4dyXj",
"MAX_CONNECTIONS_COUNT=1",
"MIN_CONNECTIONS_COUNT=1"
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ spec:
- name: APP_ENV
value: dev
- name: SECRET_KEY
value: secret
value: e6F9KvSDf4dyXj
- name: DEBUG
value: "True"
- name: DATABASE_URL
Expand Down
Loading