no message
This commit is contained in:
parent
6b88429e74
commit
72b89014b8
@ -1,7 +1,7 @@
|
|||||||
const projectBaseURL = "https://offer.gter.net"
|
const projectBaseURL = "https://offer.gter.net"
|
||||||
if (["localhost", "127.0.0.1"].includes(location.hostname)) {
|
if (["localhost", "127.0.0.1"].includes(location.hostname)) {
|
||||||
axios.defaults.headers = {
|
axios.defaults.headers = {
|
||||||
"Authorization": "ld9bk0gpdkqkydoyhdiqkvlm68cgxmjc",
|
// "Authorization": "ld9bk0gpdkqkydoyhdiqkvlm68cgxmjc",
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -9,7 +9,7 @@ function $ajax(url) {
|
|||||||
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}
|
var data = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {}
|
||||||
url = url.indexOf("https://") > -1 ? url : projectBaseURL + url
|
url = url.indexOf("https://") > -1 ? url : projectBaseURL + url
|
||||||
|
|
||||||
data["authorization"] = "ld9bk0gpdkqkydoyhdiqkvlm68cgxmjc"
|
// data["authorization"] = "ld9bk0gpdkqkydoyhdiqkvlm68cgxmjc"
|
||||||
|
|
||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
axios
|
axios
|
||||||
|
Loading…
Reference in New Issue
Block a user