diff --git a/web/index.js b/web/index.js index bdd41f9d..32a1dc33 100644 --- a/web/index.js +++ b/web/index.js @@ -210,7 +210,9 @@ fastify.get("/studysets/:studyset", function (request, reply) { reply.view("studyset.html", { ...themeData(request), studyset: result.data[0], - profile: profile + profile: profile, + apiUrl: apiUrl, + apiPublicKey: apiPublicKey }) }) } else { diff --git a/web/views/studyset.html b/web/views/studyset.html index 41e1f000..46bc0705 100644 --- a/web/views/studyset.html +++ b/web/views/studyset.html @@ -266,312 +266,17 @@