server/src/config/cors.php
author ymh <ymh.work@gmail.com>
Wed, 23 Nov 2016 11:29:59 +0100
changeset 442 58ce952af5b0
parent 107 16e1473a6a99
permissions -rw-r--r--
Added tag 0.0.12 for changeset 65a6c640de7a

<?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' => [],
];