mirror of
https://github.com/strapi/strapi.git
synced 2026-05-03 16:22:30 +00:00
12 lines
315 B
TypeScript
12 lines
315 B
TypeScript
import type { Core } from '@strapi/strapi';
|
|
|
|
const serverConfig = ({ env }: Core.Config.Shared.ConfigParams): Core.Config.Server => ({
|
|
host: env('HOST', '0.0.0.0'),
|
|
port: env.int('PORT', 1337),
|
|
app: {
|
|
keys: env.array('APP_KEYS', ['toBeModified1', 'toBeModified2']),
|
|
},
|
|
});
|
|
|
|
export default serverConfig;
|