From 149a3bdf84ff0eeb65b6d994cf16afeb224b6068 Mon Sep 17 00:00:00 2001
From: Rafael Schwemmer
Date: Fri, 28 Jan 2022 17:39:43 +0100
Subject: [PATCH] Update pre-conigured remote manifest storage endpoint URI for
JsonStorage.net. Add clearer warning to Settings dialog that JsonStorage.net
should not be used as the main storage solution for manifests. See issue #59
---
app/components/SettingsDialog.jsx | 7 ++++--
package-lock.json | 20 ++++-----------
public/bundle.js | 42 +------------------------------
3 files changed, 11 insertions(+), 58 deletions(-)
diff --git a/app/components/SettingsDialog.jsx b/app/components/SettingsDialog.jsx
index 980e723..e661ec9 100644
--- a/app/components/SettingsDialog.jsx
+++ b/app/components/SettingsDialog.jsx
@@ -225,7 +225,7 @@ var SettingsDialog = React.createClass({
},
prefillRemoteJsonSettings: function() {
this.refs.serverEndpointName.value = 'JsonStorage.net';
- this.refs.serverEndpointUri.value = 'https://jsonstorage.net/api/items'
+ this.refs.serverEndpointUri.value = 'https://api.jsonstorage.net/v1/json'
},
displayServerEndpointConfiguration: function() {
if(this.state.savedServerEndpoint === '' ) {
@@ -239,7 +239,10 @@ var SettingsDialog = React.createClass({
requests in order to retrieve, store and update manifests. Download and install
IIIF Manifest Store or
- click here to use JsonStorage.net to try this feature. Please note that your content on JsonStorage.net is publicly visible and the service might not be suitable for long-term storage of IIIF manifests.
+ click here to use JsonStorage.net to try this feature.
+ Please note that this is for demonstration purposes only. Your content on JsonStorage.net is publicly
+ visible and the service is not suitable for long-term storage of IIIF manifests. DO NOT USE JsonStorage.net
+ as your main manifest storage solution.