File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 88< button type ="button " onclick ="newregistration() "> Add WebAuthn</ button >
99< script src ="./webauthn.js "> </ script >
1010< script >
11- fetch ( 'http://localhost /api/v1/self' , {
11+ fetch ( '. /api/v1/self' , {
1212 method : 'POST' ,
1313 headers : {
1414 'Content-Type' : 'application/x-www-form-urlencoded'
Original file line number Diff line number Diff line change 3333 const email = form . elements . email . value ;
3434 const password = form . elements . password . value ;
3535
36- fetch ( 'http://localhost /api/v1/auth/login' , {
36+ fetch ( '. /api/v1/auth/login' , {
3737 method : 'POST' ,
3838 headers : {
3939 'Content-Type' : 'application/x-www-form-urlencoded'
Original file line number Diff line number Diff line change 2626 const email = form . elements . email . value ;
2727 const password = form . elements . password . value ;
2828
29- fetch ( 'http://localhost /api/v1/auth/register' , {
29+ fetch ( '. /api/v1/auth/register' , {
3030 method : 'POST' ,
3131 headers : {
3232 'Content-Type' : 'application/x-www-form-urlencoded'
You can’t perform that action at this time.
0 commit comments