apxtrib.js
This commit is contained in:
parent
e9c95d5c50
commit
d66bb34981
@ -161,9 +161,9 @@ const corsOptions = {
|
||||
origin: (origin, callback) => {
|
||||
//before modif only origin == undefined
|
||||
if (
|
||||
(infotown.townId == "devfarm" &&
|
||||
(origin == undefined || (infotown.townId == "devfarm" &&
|
||||
(origin == undefined || origin == null)) ||
|
||||
origin.indexOf("chrome-extension") > -1
|
||||
origin.indexOf("chrome-extension") > -1)
|
||||
) {
|
||||
callback(null, true);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user