19 lines
624 B
PHP
19 lines
624 B
PHP
<?php
|
|
|
|
// Deep link / share URL configuration. The canonical domain the mobile app and
|
|
// web share deep links in (e.g. https://aramejan.com), with {id} placeholders
|
|
// (the ID of the media / category).
|
|
$base = rtrim(env('DEEPLINK_BASE_URL', 'https://aramejan.com'), '/');
|
|
|
|
return [
|
|
|
|
// Canonical deep link domain (without trailing slash).
|
|
'base_url' => $base,
|
|
|
|
// Pattern used for media deep links.
|
|
'media_pattern' => env('DEEPLINK_MEDIA_PATTERN', $base . '/media/{id}'),
|
|
|
|
// Pattern used for category deep links.
|
|
'category_pattern' => env('DEEPLINK_CATEGORY_PATTERN', $base . '/category/{id}'),
|
|
];
|