mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-22 02:54:26 +00:00
Set up a pnpm workspace with apps/site (Astro) and apps/cms (Strapi, SQLite-backed) as the foundation for the new digital-legacy site. Switches package management to pnpm and adds Biome for linting/ formatting, replacing npm/no-linter setup. Existing Zola site stays in place for now and will be migrated/removed progressively.
15 lines
358 B
TypeScript
15 lines
358 B
TypeScript
import type { Core } from '@strapi/strapi';
|
|
|
|
const config = ({ 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')!,
|
|
},
|
|
webhooks: {
|
|
populateRelations: env.bool('WEBHOOKS_POPULATE_RELATIONS', false),
|
|
},
|
|
});
|
|
|
|
export default config;
|