dev: allow content-edits API from sslip.io domain
This commit is contained in:
1 parent
935e32c166
commit
12e2b121c7
1 file changed
+1
-1
@@ -20,7 +20,7 @@ function ensureEditsDir() {
|
||||
|
||||
function isLocalRequest(req) {
|
||||
const host = (req.headers.host || "").split(":")[0];
|
||||
const ALLOWED = ["localhost", "127.0.0.1", "dev.mamadaevv.site"];
|
||||
const ALLOWED = ["localhost", "127.0.0.1", "dev.mamadaevv.site", "f2ogw6fzi6trnp7cp43x8wsd.31.129.103.242.sslip.io"];
|
||||
return ALLOWED.includes(host);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user