We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 85480a4 commit aff162dCopy full SHA for aff162d
1 file changed
Backend.js
@@ -2,7 +2,7 @@
2
class Backend{
3
static call(module='', data){
4
let backend = Backend.getBackend();
5
- return fetch(new Request(backend.path+'/'+module+'/'), {
+ return fetch(new Request(backend.path+'/'+module), {
6
method: 'POST',
7
headers: new Headers(backend.headers),
8
body: JSON.stringify(data)
@@ -18,7 +18,7 @@ class Backend{
18
console.error('Invalid backend');
19
}finally{
20
return {
21
- path: 'https://backend.ai-tournaments.io',
+ path: 'https://nfegdyrzrdhwvqpujxhj.functions.supabase.co',
22
headers: {
23
'Authorization': 'Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTY0MzY2MTc3MCwiZXhwIjoxOTU5MjM3NzcwfQ.x_SvsnLkgYNEgpxa7h74Z__aBgGbGIYVmljhwYDJ1Bc'
24
}
0 commit comments