hotfix: fixes are cool

This commit is contained in:
Ash Monty
2023-03-05 21:27:45 +01:00
parent 9187e57bb9
commit 48da3a81f7

View File

@@ -1,5 +1,3 @@
const config = require('../../../config.json');
const passwordInput = document.querySelector('#password');
const passwordConfirmInput = document.querySelector('#password_confirm');
const tokenInput = document.querySelector('#token');
@@ -7,7 +5,7 @@ const tokenInput = document.querySelector('#token');
document.querySelector('form').addEventListener('submit', function (event) {
event.preventDefault();
fetch(`${config.api_base}/v1/reset-password`, {
fetch('https://api.pretendo.cc/v1/reset-password', {
method: 'POST',
headers: {
'Accept': 'application/json',
@@ -29,4 +27,4 @@ document.querySelector('form').addEventListener('submit', function (event) {
}
})
.catch(console.log);
});
});