server/src/config/cors.php
author Chloe Laisne <chloe.laisne@gmail.com>
Thu, 07 Jul 2016 11:06:11 +0200
changeset 233 0ff47a9c5da2
parent 107 16e1473a6a99
permissions -rw-r--r--
Keyboard events on chronology

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