Skip to content

Commit aff162d

Browse files
committed
Revert to before subdomain.
1 parent 85480a4 commit aff162d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Backend.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
class Backend{
33
static call(module='', data){
44
let backend = Backend.getBackend();
5-
return fetch(new Request(backend.path+'/'+module+'/'), {
5+
return fetch(new Request(backend.path+'/'+module), {
66
method: 'POST',
77
headers: new Headers(backend.headers),
88
body: JSON.stringify(data)
@@ -18,7 +18,7 @@ class Backend{
1818
console.error('Invalid backend');
1919
}finally{
2020
return {
21-
path: 'https://backend.ai-tournaments.io',
21+
path: 'https://nfegdyrzrdhwvqpujxhj.functions.supabase.co',
2222
headers: {
2323
'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTY0MzY2MTc3MCwiZXhwIjoxOTU5MjM3NzcwfQ.x_SvsnLkgYNEgpxa7h74Z__aBgGbGIYVmljhwYDJ1Bc'
2424
}

0 commit comments

Comments
 (0)