mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 08:37:30 +02:00
[core] fix new bridge PRs not generating html preview artifacts (#3583)
* [core] replace everything except bridge name to get a valid whitelist.txt * [core] do not use hard code repository name to improve working with forks * [core] trim bridge names from whitelist.txt to reduce chance of failure
This commit is contained in:
@@ -113,7 +113,7 @@ final class Configuration
|
||||
if ($enabledBridges === '*') {
|
||||
self::setConfig('system', 'enabled_bridges', ['*']);
|
||||
} else {
|
||||
self::setConfig('system', 'enabled_bridges', array_filter(explode("\n", $enabledBridges)));
|
||||
self::setConfig('system', 'enabled_bridges', array_filter(array_map('trim', explode("\n", $enabledBridges))));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user