changeset 1298:7d9132a513ab

use scheme-less urls to enable serving digilib on https.
author robcast
date Mon, 15 Dec 2014 18:49:42 +0100
parents aa09153a2b13
children 49d643f0d658
files webapp/src/main/webapp/jquery/digilib-ann.html webapp/src/main/webapp/jquery/digilib-mpiwg.html
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/webapp/src/main/webapp/jquery/digilib-ann.html	Tue Aug 26 17:19:57 2014 +0200
+++ b/webapp/src/main/webapp/jquery/digilib-ann.html	Mon Dec 15 18:49:42 2014 +0100
@@ -37,7 +37,7 @@
                     interactionMode : 'fullscreen',
                     showRegionNumbers : true,
                     // URL of annotation server
-                    'annotationServerUrl' : 'http://localhost:18080/AnnotationManagerN4J/annotator',
+                    'annotationServerUrl' : '//localhost:18080/AnnotationManagerN4J/annotator',
                     // are annotations read-only?
                     'annotationsReadOnly' : false,
                     // URL of authentication token server
@@ -55,7 +55,7 @@
     <body>
         <div id="digilib">
             <p>digilib doesn't work! Please switch on Javascript or notify the server administrator!</p>
-            <img src="http://digilib.sourceforge.net/images/digilib-logo-big.png" />
+            <img src="//digilib.sourceforge.net/images/digilib-logo-big.png" />
         </div>
     </body>
 </html>
--- a/webapp/src/main/webapp/jquery/digilib-mpiwg.html	Tue Aug 26 17:19:57 2014 +0200
+++ b/webapp/src/main/webapp/jquery/digilib-mpiwg.html	Mon Dec 15 18:49:42 2014 +0100
@@ -37,11 +37,11 @@
                     interactionMode : 'fullscreen',
                     showRegionNumbers : true,
                     // URL of annotation server
-                    'annotationServerUrl' : 'http://tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager/annotator',
+                    'annotationServerUrl' : '//tuxserve03.mpiwg-berlin.mpg.de/AnnotationManager/annotator',
                     // are annotations read-only?
                     'annotationsReadOnly' : false,
                     // URL of authentication token server
-                    'annotationTokenUrl' : 'http://libcoll.mpiwg-berlin.mpg.de/libviewa/template/token/getLoginToken',
+                    'annotationTokenUrl' : '//libcoll.mpiwg-berlin.mpg.de/libviewa/template/token/getLoginToken',
                     // URL of safe authentication token server
                     'annotationSafeTokenUrl' : 'https://libcoll.mpiwg-berlin.mpg.de/libviewa/template/token/getLoginToken',
                     // function that returns a normalized URI for the annotated image
@@ -62,7 +62,7 @@
     <body>
         <div id="digilib">
             <p>digilib doesn't work! Please switch on Javascript or notify the server administrator!</p>
-            <img src="http://digilib.sourceforge.net/images/digilib-logo-big.png" />
+            <img src="//digilib.sourceforge.net/images/digilib-logo-big.png" />
         </div>
     </body>
 </html>