|
|
@@ -1,13 +1,18 @@
|
|
|
import axios from "axios";
|
|
|
import HMAC_SHA256 from "crypto-js/hmac-sha256";
|
|
|
const BASE_URL="https://devmini.tongifts.app/"
|
|
|
+// "_id" : "H6kcGjSbEYou87VglvJba",
|
|
|
+// "apiKey" : "VG5JSNeJFrZVuwlCaUhp3",
|
|
|
+// ”taskid“: "66aa09c8962bc7cb275f8619",
|
|
|
+// "giftUrl": "https://t.me/redevelope_bot/TGTest?startapp=o_CJ6CgJ80vcGzyfN0SrOXH"
|
|
|
+
|
|
|
const config={
|
|
|
_id:"",
|
|
|
apiKey:""
|
|
|
}
|
|
|
const service = axios.create({
|
|
|
baseURL: BASE_URL,
|
|
|
- withCredentials: true,
|
|
|
+ // withCredentials: true,
|
|
|
timeout: 10000, // Request timeout
|
|
|
});
|
|
|
const init=(_id,apiKey)=>{
|