mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 02:36:42 +02:00
feat: add CDN url
feat: rename ?s to ?_from to match podcastindex recommendation feat: adust map height feat: display pie chart on 1 column for small and medium screens feat: handle empty rss user agent fix: correct bug when importing episode with empty image fix: add service to FakePodcastsAnalyticsSeeder, resize pie charts so that all lines fit fix: set page title to ->title when it exists fix: replace %20 with + closes #37
This commit is contained in:
parent
384b6b27a3
commit
972bcbf65e
22 changed files with 112 additions and 22 deletions
|
|
@ -150,6 +150,7 @@ class Install extends Controller
|
|||
{
|
||||
$rules = [
|
||||
'hostname' => 'required|validate_url',
|
||||
'media_base_url' => 'permit_empty|validate_url',
|
||||
'admin_gateway' => 'required',
|
||||
'auth_gateway' => 'required|differs[admin_gateway]',
|
||||
];
|
||||
|
|
@ -165,8 +166,12 @@ class Install extends Controller
|
|||
}
|
||||
|
||||
$baseUrl = $this->request->getPost('hostname');
|
||||
$mediaBaseUrl = $this->request->getPost('media_base_url');
|
||||
self::writeEnv([
|
||||
'app.baseURL' => $baseUrl,
|
||||
'app.mediaBaseURL' => empty($mediaBaseUrl)
|
||||
? $baseUrl
|
||||
: $mediaBaseUrl,
|
||||
'app.adminGateway' => $this->request->getPost('admin_gateway'),
|
||||
'app.authGateway' => $this->request->getPost('auth_gateway'),
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue