mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-02 09:04:44 +02:00
feat: add etag support to getContents (#3893)
This commit is contained in:
parent
d5175aebcc
commit
191e5b0493
8 changed files with 42 additions and 31 deletions
|
@ -16,7 +16,7 @@ final class BridgeCard
|
|||
|
||||
$bridge = $bridgeFactory->create($bridgeClassName);
|
||||
|
||||
$isHttps = strpos($bridge->getURI(), 'https') === 0;
|
||||
$isHttps = str_starts_with($bridge->getURI(), 'https');
|
||||
|
||||
$uri = $bridge->getURI();
|
||||
$name = $bridge->getName();
|
||||
|
@ -113,8 +113,7 @@ EOD;
|
|||
}
|
||||
|
||||
if (!$isHttps) {
|
||||
$form .= '<div class="secure-warning">Warning :
|
||||
This bridge is not fetching its content through a secure connection</div>';
|
||||
$form .= '<div class="secure-warning">Warning: This bridge is not fetching its content through a secure connection</div>';
|
||||
}
|
||||
|
||||
return $form;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue