mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-08-22 16:47:16 -05:00
hotfix: fixes are cool
This commit is contained in:
@@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user