Revert "A development host is kept out of search engines without IAPL_NOINDEX (developmentNoindex, default on)"

This reverts commit bc3aac249f.
This commit is contained in:
Radosław Smoliński
2026-11-26 10:38:29 +01:00
parent 463b966365
commit 5df5358768
23 changed files with 24 additions and 215 deletions
-9
View File
@@ -145,15 +145,6 @@ export type IaplOptions = {
*/
developmentHosts?: string[]
/**
* A site on a development host (`developmentHosts`) is kept out of search engines without
* `IAPL_NOINDEX`: robots.txt disallows everything, pages carry `noindex, nofollow`, IndexNow sends
* nothing (and `buildSecurityHeaders()` adds `X-Robots-Tag`). Default `true`. `false` = only
* `IAPL_NOINDEX=1` makes a site noindex, as before 1.17.0. `IAPL_NOINDEX=0` switches it off for one
* environment.
*/
developmentNoindex?: boolean
/**
* GET /api/ipal/doctor — read-only counts for `iapl-doctor --url` (users without 2FA, cookies
* waiting for approval, versions). Answers 404 until IAPL_DOCTOR_TOKEN (≥ 32 characters) is set;