create-easy-cms 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bin.js
CHANGED
|
@@ -118,6 +118,11 @@ ${database}
|
|
|
118
118
|
|
|
119
119
|
export default defineConfig({
|
|
120
120
|
secret: process.env.EASY_CMS_SECRET ?? '',
|
|
121
|
+
// Secrets used before EASY_CMS_SECRET while it is replaced, comma-separated: what they signed
|
|
122
|
+
// still verifies.
|
|
123
|
+
previousSecrets: (process.env.EASY_CMS_PREVIOUS_SECRETS ?? '').split(',').filter(Boolean),
|
|
124
|
+
// Requests per minute: 300 per visitor's IP, 1200 per signed-in user and per API key.
|
|
125
|
+
rateLimit: {},
|
|
121
126
|
${adapter}
|
|
122
127
|
admin: { locale: 'en' },${options.standalone ? `
|
|
123
128
|
// Frontends on other origins that call the API from the browser.
|
package/dist/index.js
CHANGED