diff --git a/app/Libraries/MyCrawler/YamapLibrary.php b/app/Libraries/MyCrawler/YamapLibrary.php index e62cb25..b87b304 100644 --- a/app/Libraries/MyCrawler/YamapLibrary.php +++ b/app/Libraries/MyCrawler/YamapLibrary.php @@ -137,8 +137,8 @@ class YamapLibrary extends MyCrawlerLibrary switch ($this->getMyStorage()->getOrintginType()) { case "image": $content = sprintf( - "\"%s\"", - $this->getMySocket()->getHost(), + "\"%s\"", + getenv("mangboard.uloads.url"), $this->getMyStorage()->getPath(), $this->getMyStorage()->getOriginName(), $this->getMyStorage()->getOriginName() @@ -147,11 +147,11 @@ class YamapLibrary extends MyCrawlerLibrary case "video": $content = sprintf( "", $this->getMyStorage()->getOriginName(), - $this->getMySocket()->getHost(), + getenv("mangboard.uloads.url"), $this->getMyStorage()->getPath(), $this->getMyStorage()->getOriginName(), $this->getMyStorage()->getMimeType(),