mirror of
https://github.com/rekryt/iplist.git
synced 2025-10-13 08:59:34 +03:00
feat: add "save as file" checkbox
This commit is contained in:
@@ -29,7 +29,7 @@ abstract class AbstractController implements ControllerInterface {
|
||||
abstract public function getBody(): string;
|
||||
|
||||
public function setHeaders(array $headers): AbstractController {
|
||||
$this->headers = $headers;
|
||||
$this->headers = array_merge($this->headers ?? [], $headers);
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user