Hi,
On Tuesday, August 27, 2019 8:55:14 AM CEST Leif Johansson wrote:
So,
there's some substitution work keft to do now ;). Curious if this can
be simplified for the HTTP_HOST=BASE_URL=STORAGE_DOMAIN=MDQ_URL by making
all URL's relative when the thiss-js code resides in the root of the same
server as the pyff daemon and is served on the same URL?
It probably can ... PR would be great!
Ok I now understand what went wrong. I was mislead by the "Read the
documentation" link that points to the documentation on
https://thiss-ds.readthedocs.io/ which is a work-in-progress. Therefor I missed the /docs
directory and am now catching up on everything npm!
Have built the code using webpack, but not before I corrected two typos in the
src:
diff --git a/src/ds/index.html b/src/ds/index.html
index c03e4d1..1b40ee8 100644
--- a/src/ds/index.html
+++ b/src/ds/index.html
@@ -15,7 +15,7 @@
</h2>
</header>
<main class="content">
- <div class="container" id="dsclient"
+ <div class="container" id="dsclient">
<!-- choose -->
<div class="d-none" id="choose">
<h1>Choose Your Institution</h1>
diff --git a/src/ds/index.js b/src/ds/index.js
index e30e882..dbe961c 100644
--- a/src/ds/index.js
+++ b/src/ds/index.js
@@ -20,7 +20,7 @@ import '../assets/ds.css';
const Hogan = require("hogan.js");
-import '(a)theidentityselector/thiss-jquery-plugins/src/ds-widget.js';
+import '(a)theidentityselector/thiss-jquery-plugin/src/ds-widget.js';
const search = Hogan.compile(require('!raw-loader!./templates/search.html'));
const saved = Hogan.compile(require('!raw-loader!./templates/saved.html'));
Thx so far!
Best regards,
Martin