server/src/config/cors.php
author Chloe Laisne <chloe.laisne@gmail.com>
Wed, 24 Aug 2016 17:22:02 +0200
changeset 265 5995d360e6ac
parent 107 16e1473a6a99
permissions -rw-r--r--
Discourse bubbles radius range + font size

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