code: public function getRootUrl()
  	{
  		$request = $this->requests->getCurrentRequest();
  		$host = $request->getHttpHost();
  		$base = $request->getBaseUrl();
  
  		return rtrim("//$host/$base", '/');
  	}
docs: Get the root URL. Used to generate URLs to assets.
  
  @return string