Read admin password from env var in production
This commit is contained in:
@@ -12,15 +12,10 @@
|
||||
"Issuer": "klapi-api",
|
||||
"Audience": "klapi-ui",
|
||||
"SigningKey": "change-this-to-a-long-random-32-char-minimum-key",
|
||||
"AllowedOrigins": [
|
||||
"http://localhost:5173",
|
||||
"http://127.0.0.1:5173",
|
||||
"http://localhost:4173",
|
||||
"http://127.0.0.1:4173"
|
||||
],
|
||||
"AllowedOrigins": ["https://klapi.tietokonepaja.fi"],
|
||||
"Admin": {
|
||||
"Username": "admin",
|
||||
"Password": "changeme",
|
||||
"Password": "<set in env var KLAPI_ADMIN_PASSWORD>",
|
||||
"DisplayName": "Administrator"
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user