Skip to content

Commit afd6799

Browse files
dmitrizagidulinAndrei
authored andcommitted
Fixes the API URLs in /static/signup.html (nodeSolidServer#385)
Fixes issue nodeSolidServer#381.
1 parent c4c4aa5 commit afd6799

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

static/signup.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ <h2>Create your account</h2>
4545
<button onclick='createAccount()'>Create account</button>
4646
</div>
4747

48-
<form id="cert" method="POST" action='/accounts/cert' target="spkacResult" style="display: none">
48+
<form id="cert" method="POST" action='/api/accounts/cert' target="spkacResult" style="display: none">
4949
<h2>Finish by issuing credentials in the form of a certificate</h2>
50-
<keygen name="spkac" keytype="rsa" hidden>
50+
<keygen name="spkac" keytype="rsa" hidden />
5151
<iframe id="spkacResult" name="spkacResult" sandbox="allow-same-origin allow-forms" hidden></iframe>
5252
<input type="hidden" id="webid" name="webid" value="">
5353
<p>Your WebID is: <span id="your-webid"></span></p>
@@ -60,7 +60,7 @@ <h2>Finish by issuing credentials in the form of a certificate</h2>
6060
<script type="text/javascript">
6161
function createAccount () {
6262
var email = document.getElementById('email').value
63-
var url = '/accounts/new'
63+
var url = '/api/accounts/new'
6464
var data = 'email=' + email
6565

6666
var http = new XMLHttpRequest()
@@ -105,4 +105,4 @@ <h2>Finish by issuing credentials in the form of a certificate</h2>
105105

106106
</script>
107107
</body>
108-
</html>
108+
</html>

0 commit comments

Comments
 (0)