Skip to content

Commit

Permalink
Merge pull request #129 from anshulv1401/develop
Browse files Browse the repository at this point in the history
[ES-245] script placement changed
  • Loading branch information
anshulv1401 authored Sep 7, 2023
2 parents f312a8e + 035bdd4 commit 03b14aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions mock-relying-party-ui/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<script src="%PUBLIC_URL%/env-config.js"></script>
<script src="%PUBLIC_URL%/plugin-config.js" defer></script>
<script id="sign-in-plugin-placeholder"></script>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down
6 changes: 3 additions & 3 deletions mock-relying-party-ui/public/plugin-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
(function () {
var script = document.createElement('script');
script.src = window._env_.SIGN_IN_BUTTON_PLUGIN_URL;
document.head.appendChild(script);
var script = document.createElement("script");
script.src = window._env_.SIGN_IN_BUTTON_PLUGIN_URL;
document.head.replaceChild(script, document.getElementById("sign-in-plugin-placeholder"));
})();

0 comments on commit 03b14aa

Please sign in to comment.