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:
@@ -66,7 +66,6 @@ import { buildIndexNowHook } from './modules/seo/indexNow.js'
|
||||
import { searchSettingsFields } from './modules/seo/searchSettings.js'
|
||||
import { migrateTitleSeparator } from './modules/seo/titleSeparator.js'
|
||||
import { applyCollectionOverride } from './modules/shared/collectionOverride.js'
|
||||
import { configureDevelopmentHosts } from './modules/shared/developmentHosts.js'
|
||||
import { buildStatsCollection, buildStatsEndpoint } from './modules/stats/index.js'
|
||||
import { visitorCookieFor } from './modules/stats/visitorCookie.js'
|
||||
|
||||
@@ -753,7 +752,6 @@ export const iapl = (options: IaplOptions): Plugin => {
|
||||
|
||||
// --- e-mail: the Intecion Notifications Webservice (docs/email.md; off with mail: { relay: false }) ---
|
||||
// What mailAdapter() reads at send time; born under the new name (`custom.iapl`).
|
||||
configureDevelopmentHosts({ hosts: Array.isArray(options.developmentHosts) ? options.developmentHosts : undefined, noindex: options.developmentNoindex })
|
||||
const relay = options.mail?.relay
|
||||
const iaplCustom = (config.custom?.iapl ?? {}) as object
|
||||
config.custom = {
|
||||
|
||||
Reference in New Issue
Block a user