changed API Endpoint

This commit is contained in:
Alec Hoefler 2021-04-10 12:22:47 +02:00
parent 491b68c3c3
commit daabd698ba
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ if(!getCookie("jmtoken")){
}else{ }else{
_jmtoken.innerHTML=""; _jmtoken.innerHTML="";
$.ajax({ $.ajax({
url: 'https://data.tilera.xyz/api/jensmemes/users', url: 'http://api.tilera.xyz/jensmemes/v1/users',
type: 'get', type: 'get',
contentType: false, contentType: false,
processData: false, processData: false,

View file

@ -16,7 +16,7 @@ function uploadFile(){
} }
$.ajax({ $.ajax({
url: 'https://data.tilera.xyz/api/jensmemes/upload', url: 'http://api.tilera.xyz/jensmemes/v1/upload',
type: 'post', type: 'post',
data: fd, data: fd,
contentType: false, contentType: false,