mirror of
https://github.com/strapi/strapi.git
synced 2025-11-18 02:58:05 +00:00
update kitchensink config
This commit is contained in:
parent
20e6d9a94b
commit
9e21f01a46
@ -3,4 +3,7 @@ module.exports = ({ env }) => ({
|
|||||||
auth: {
|
auth: {
|
||||||
secret: env('ADMIN_JWT_SECRET', 'example-token'),
|
secret: env('ADMIN_JWT_SECRET', 'example-token'),
|
||||||
},
|
},
|
||||||
|
apiToken: {
|
||||||
|
salt: env('API_TOKEN_SALT', 'example-salt'),
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
@ -1,10 +1,8 @@
|
|||||||
module.exports = ({ env }) => ({
|
module.exports = ({ env }) => ({
|
||||||
host: env('HOST', '0.0.0.0'),
|
host: env('HOST', '0.0.0.0'),
|
||||||
port: env.int('PORT', 1337),
|
port: env.int('PORT', 1337),
|
||||||
admin: {
|
app: {
|
||||||
auth: {
|
keys: env.array('APP_KEYS', ['toBeModified1', 'toBeModified2']),
|
||||||
secret: env('ADMIN_JWT_SECRET', '6f75e424d1a0307077c294fcc3c7d78d'),
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
app: {
|
app: {
|
||||||
keys: env.array('APP_KEYS', ['toBeModified1', 'toBeModified2']),
|
keys: env.array('APP_KEYS', ['toBeModified1', 'toBeModified2']),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user