fraudTech commited on
Commit
cce9723
·
verified ·
1 Parent(s): eee1fd7

Update src/api.js

Browse files
Files changed (1) hide show
  1. src/api.js +3 -1
src/api.js CHANGED
@@ -1,7 +1,9 @@
1
  // src/api.js
2
 
3
  // Change this if you put a proxy / gateway in front of the backend
4
- export const API_BASE = "https://deepthoughtai-prolog-backend.hf.space";
 
 
5
 
6
  export async function sendChat(message, strictMode = true, history = []) {
7
  const res = await fetch(`${API_BASE}/chat`, {
 
1
  // src/api.js
2
 
3
  // Change this if you put a proxy / gateway in front of the backend
4
+ // export const API_BASE = "https://deepthoughtai-prolog-backend.hf.space";
5
+ export const API_BASE = "https://deepthoughtai-prolog-gateway.hf.space/prolog/query";
6
+
7
 
8
  export async function sendChat(message, strictMode = true, history = []) {
9
  const res = await fetch(`${API_BASE}/chat`, {