server/src/config/cors.php
author ymh <ymh.work@gmail.com>
Sat, 17 Dec 2016 23:43:28 +0100
changeset 475 dbb941b9fb66
parent 107 16e1473a6a99
permissions -rw-r--r--
add missing territories and the zoom function at counties level

<?php

return [
    /*
     |--------------------------------------------------------------------------
     | Laravel CORS
     |--------------------------------------------------------------------------
     |

     | allowedOrigins, allowedHeaders and allowedMethods can be set to array('*')
     | to accept any value, the allowed methods however have to be explicitly listed.
     |
     */
    'supportsCredentials' => false,
    'allowedOrigins' => ['*'],
    'allowedHeaders' => ['*'],
    'allowedMethods' => ['GET',],
    'exposedHeaders' => [],
    'maxAge' => 0,
    'hosts' => [],
];