Files
andwati.com/apps/cms/config/admin.ts
T
andwati cae62d4a66 Apply Biome formatting across the workspace
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.
2026-08-30 17:59:30 +03:00

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;