Skip to content

Commit

Permalink
Merge pull request #20 from adam-vessey/feature/simplify-default-url
Browse files Browse the repository at this point in the history
Simplify site/node-relative manifest endpoint reference.
  • Loading branch information
alxp authored May 31, 2023
2 parents 6438983 + a2bb374 commit b390e38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/install/islandora_mirador.settings.yml
Original file line number Diff line number Diff line change
@@ -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'
2 changes: 1 addition & 1 deletion src/Form/MiradorConfigForm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b390e38

Please sign in to comment.