Skip to content

Suche funktioniert nicht (absolute URL ohne TLS)

Die Suche in Hugo funktioniert nicht. Folgendes finde ich in der Console:

Access to XMLHttpRequest at 'http://docs.immerda.ch/de/index.json' from origin 'https://docs.immerda.ch' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Error getting Hugo index file: error,

Es ist wohl notwendig Hugo so zu konfigurieren, dass alle absolute URLs mit dem https Protokoll generiert werden.