diff --git a/config/install/islandora_mirador.settings.yml b/config/install/islandora_mirador.settings.yml index 75bea42..b39e1b3 100644 --- a/config/install/islandora_mirador.settings.yml +++ b/config/install/islandora_mirador.settings.yml @@ -1,3 +1,3 @@ mirador_library_installation_type: 'remote' mirador_enabled_plugins: { } -iiif_manifest_url: 'http://localhost:8000/node/[node:nid]/manifest' +iiif_manifest_url: '[node:url:unaliased:absolute]/manifest' diff --git a/src/Form/MiradorConfigForm.php b/src/Form/MiradorConfigForm.php index 3c48aae..4f086a1 100644 --- a/src/Form/MiradorConfigForm.php +++ b/src/Form/MiradorConfigForm.php @@ -60,7 +60,7 @@ public function buildForm(array $form, FormStateInterface $form_state) { ]; $form['iiif_manifest_url_fieldset']['iiif_manifest_url'] = [ '#type' => 'textfield', - '#description' => $this->t('Absolute URL of the IIIF manifest to render. You may use tokens to provide a pattern (e.g. "http://localhost/node/[node:nid]/manifest")'), + '#description' => $this->t('Absolute URL of the IIIF manifest to render. You may use tokens to provide a pattern (e.g. "[node:url:unaliased:absolute]/manifest" or "http://localhost/node/[node:nid]/manifest")'), '#default_value' => $config->get('iiif_manifest_url'), '#maxlength' => 256, '#size' => 64,