feat(cms): white-label email templates and API doc config
All checks were successful
Build and publish / build (pull_request) Successful in 4m38s
All checks were successful
Build and publish / build (pull_request) Successful in 4m38s
Replace all hardcoded muellerprints brand identity in email templates with template variables (shopName, shopContactName, shopAddress, shopPhone, shopEmail, shopLogoUrl, shopSecondaryLogoUrl) sourced from env vars SHOP_NAME, SHOP_CONTACT_NAME, SHOP_ADDRESS, SHOP_PHONE, SHOP_EMAIL, SHOP_LOGO_URL, SHOP_SECONDARY_LOGO_URL. API documentation title/description now driven by API_TITLE and API_DESCRIPTION env vars. Closes #1
This commit is contained in:
@@ -10,15 +10,11 @@ export default ({ env }) => ({
|
||||
openapi: "3.0.1",
|
||||
info: {
|
||||
version: "1.0.0",
|
||||
title: "MUELLERPTINTS. Paperwork",
|
||||
description: "API Documentation for MUELLERPRINTS. Paperwork",
|
||||
title: env("API_TITLE", "Paperwork API"),
|
||||
description: env("API_DESCRIPTION", "Paperwork API"),
|
||||
termsOfService: false,
|
||||
contact: {
|
||||
name: "Michael W. Czechowski",
|
||||
email: "mail@dailysh.it",
|
||||
url: "https://dailysh.it"
|
||||
},
|
||||
license: "Copyright (C) 2024 Michael W. Czechowski",
|
||||
contact: false,
|
||||
license: false,
|
||||
externalDocs: false
|
||||
},
|
||||
"x-strapi-config": {
|
||||
|
||||
Reference in New Issue
Block a user