Welcome Guest, Not a member yet? Register   Sign In
subdomain is lost on redirect()->to()
#5

You can define baseURL property in App config (Config/App) like this:
PHP Code:
    public function __construct()
    {
        parent::__construct();

        $this->baseURL 'https://' $_SERVER['HTTP_HOST'] . '/';
    }

    public $baseURL null
Reply


Messages In This Thread
RE: subdomain is lost on redirect()->to() - by ARAmiss - 05-18-2020, 04:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB