Temporarily disable CORS as nginx does weird stuff
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-06-01 19:17:47 +02:00
parent 9381e445be
commit 901d720a61
5 changed files with 6 additions and 50 deletions

View File

@@ -2,9 +2,10 @@ import TableEntry from "../models/TableEntry";
export default class UserStatsService {
private apiURL = '/api/stats'
private apiURL = 'https://api.tsotr.humenius.me/api/stats'
private requestInit: RequestInit = {
mode: "no-cors",
headers: {
'Content-Type': 'application/json'
}