File tree Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Expand file tree Collapse file tree 7 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 14
14
<link href =" https://fonts.googleapis.com/css?family=Work+Sans" rel =" stylesheet" >
15
15
<script type =" text/javascript" src =" https://cdn.jsdelivr.net/npm/sweetalert2" defer ></script >
16
16
<script type =" text/javascript" src =" ~/js/jquery-3.6.0.min.js" defer ></script >
17
- <script src =" https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity =" sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin =" anonymous" defer ></script >
17
+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js" integrity =" sha384-b/U6ypiBEHpOf/4+1nzFpr53nxSS+GLCkfwBdFNTxtclqqenISfwAzpKaMNFNmj4" crossorigin =" anonymous" defer ></script >
18
18
<!-- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>-->
19
19
20
20
<link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/6.10.1/sweetalert2.min.css" />
Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ async function registerNewCredential(newCredential) {
312
312
}
313
313
314
314
async function registerCredentialWithServer ( formData ) {
315
- let response = await fetch ( '/makeCredential' , {
315
+ let response = await fetch ( '/makeCredential' , {
316
316
method : 'POST' , // or 'PUT'
317
317
body : JSON . stringify ( formData ) , // data can be `string` or {object}!
318
318
headers : {
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ async function verifyAssertionWithServer(assertedCredential) {
104
104
105
105
let response ;
106
106
try {
107
- let res = await fetch ( "/makeAssertion" , {
107
+ let res = await fetch ( "/makeAssertion" , {
108
108
method : 'POST' , // or 'PUT'
109
109
body : JSON . stringify ( data ) , // data can be `string` or {object}!
110
110
headers : {
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ async function registerNewCredential(newCredential) {
162
162
}
163
163
164
164
async function registerCredentialWithServer ( formData ) {
165
- let response = await fetch ( '/makeCredential' , {
165
+ let response = await fetch ( '/makeCredential' , {
166
166
method : 'POST' , // or 'PUT'
167
167
body : JSON . stringify ( formData ) , // data can be `string` or {object}!
168
168
headers : {
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ async function verifyAssertionWithServer(assertedCredential) {
97
97
98
98
let response ;
99
99
try {
100
- let res = await fetch ( "/makeAssertion" , {
100
+ let res = await fetch ( "/makeAssertion" , {
101
101
method : 'POST' , // or 'PUT'
102
102
body : JSON . stringify ( data ) , // data can be `string` or {object}!
103
103
headers : {
Original file line number Diff line number Diff line change @@ -158,7 +158,7 @@ async function registerNewCredential(newCredential) {
158
158
}
159
159
160
160
async function registerCredentialWithServer ( formData ) {
161
- let response = await fetch ( '/makeCredential' , {
161
+ let response = await fetch ( '/makeCredential' , {
162
162
method : 'POST' , // or 'PUT'
163
163
body : JSON . stringify ( formData ) , // data can be `string` or {object}!
164
164
headers : {
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ async function verifyAssertionWithServer(assertedCredential) {
99
99
100
100
let response ;
101
101
try {
102
- let res = await fetch ( "/makeAssertion" , {
102
+ let res = await fetch ( "/makeAssertion" , {
103
103
method : 'POST' , // or 'PUT'
104
104
body : JSON . stringify ( data ) , // data can be `string` or {object}!
105
105
headers : {
You can’t perform that action at this time.
0 commit comments