2025-07-31 11:25:58 +02:00
|
|
|
const adminConfig = ({ env }) => ({
|
2025-07-31 09:54:42 +02:00
|
|
|
auth: {
|
2025-07-31 11:25:58 +02:00
|
|
|
secret: env('ADMIN_JWT_SECRET', 'example-token'),
|
2025-07-31 09:54:42 +02:00
|
|
|
},
|
|
|
|
apiToken: {
|
2025-07-31 11:25:58 +02:00
|
|
|
salt: env('API_TOKEN_SALT', 'example-salt'),
|
2025-07-31 09:54:42 +02:00
|
|
|
},
|
2025-08-18 09:54:58 +02:00
|
|
|
secrets: {
|
|
|
|
encryptionKey: env('ENCRYPTION_KEY', 'example-key'),
|
|
|
|
},
|
2025-07-31 09:54:42 +02:00
|
|
|
transfer: {
|
|
|
|
token: {
|
2025-07-31 11:25:58 +02:00
|
|
|
salt: env('TRANSFER_TOKEN_SALT', 'example-salt'),
|
2025-07-31 09:54:42 +02:00
|
|
|
},
|
|
|
|
},
|
|
|
|
flags: {
|
|
|
|
nps: env.bool('FLAG_NPS', true),
|
|
|
|
promoteEE: env.bool('FLAG_PROMOTE_EE', true),
|
|
|
|
},
|
|
|
|
});
|
2025-07-31 11:25:58 +02:00
|
|
|
|
|
|
|
export default adminConfig;
|