1234567891011121314 |
- $(".btn-logout").click(function() {
- axios({
- method: 'get',
- url: 'https://www.choozmo.com:8887/logout',
- headers: {
- 'accept': 'application/json',
- }
- }).then(res => {
- console.log(res.data);
- window.location.href = 'index.html';
- }).catch(err => {
- console.log(err);
- });
- });
|