Ignore:
Timestamp:
10/24/21 13:44:44 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
83da0d2
Parents:
51b783f
Message:

edited trust for heroku

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/Http/Middleware/TrustProxies.php

    r51b783f r897df21  
    1313     * @var array|string|null
    1414     */
    15     protected $proxies;
     15    //protected $proxies;
    1616
    1717    /**
     
    2020     * @var int
    2121     */
    22     protected $headers =
    23         Request::HEADER_X_FORWARDED_FOR |
    24         Request::HEADER_X_FORWARDED_HOST |
    25         Request::HEADER_X_FORWARDED_PORT |
    26         Request::HEADER_X_FORWARDED_PROTO |
    27         Request::HEADER_X_FORWARDED_AWS_ELB;
     22//    protected $headers =
     23//        Request::HEADER_X_FORWARDED_FOR |
     24//        Request::HEADER_X_FORWARDED_HOST |
     25//        Request::HEADER_X_FORWARDED_PORT |
     26//        Request::HEADER_X_FORWARDED_PROTO |
     27//        Request::HEADER_X_FORWARDED_AWS_ELB;
     28
     29    protected $proxies = '*';
     30    protected $headers = Request:: HEADER_X_FORWARDED_AWS_ELB;
    2831}
Note: See TracChangeset for help on using the changeset viewer.