From e243d5ef71814edecc2034a179b8d37478857841 Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Wed, 29 Jan 2020 12:49:18 +0200 Subject: [PATCH] Updated docs --- app/app.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/app.php b/app/app.php index d12b62cab0..90eb4a8487 100644 --- a/app/app.php +++ b/app/app.php @@ -82,6 +82,7 @@ $utopia->init(function () use ($utopia, $request, $response, &$user, $project, $ /* * Validate Client Domain - Check to avoid CSRF attack * Adding Appwrite API domains to allow XDOMAIN communication + * Skip this check for non-web platforms which are not requiredto send an origin header */ $hostValidator = new Host($clients); $origin = $request->getServer('HTTP_ORIGIN', $request->getServer('HTTP_REFERER', ''));