mirror of
https://github.com/andwati/andwati.com.git
synced 2026-10-18 01:12:53 +00:00
Fixes the formatting deltas from the initial Astro/Strapi scaffold and brings the legacy generate-og-images/generate-llms/validate-post scripts in line with Biome's style. No behavioral changes.
28 lines
557 B
TypeScript
28 lines
557 B
TypeScript
import type { Core } from "@strapi/strapi";
|
|
|
|
const config = ({
|
|
env,
|
|
}: Core.Config.Shared.ConfigParams): Core.Config.Admin => ({
|
|
auth: {
|
|
secret: env("ADMIN_JWT_SECRET")!,
|
|
},
|
|
apiToken: {
|
|
salt: env("API_TOKEN_SALT")!,
|
|
},
|
|
transfer: {
|
|
token: {
|
|
salt: env("TRANSFER_TOKEN_SALT")!,
|
|
},
|
|
},
|
|
secrets: {
|
|
encryptionKey: env("ENCRYPTION_KEY")!,
|
|
},
|
|
flags: {
|
|
nps: env.bool("FLAG_NPS", true),
|
|
promoteEE: env.bool("FLAG_PROMOTE_EE", true),
|
|
docLinks: env.bool("FLAG_DOC_LINKS", true),
|
|
},
|
|
});
|
|
|
|
export default config;
|