mirror of
https://github.com/yattee/yattee.git
synced 2025-08-08 11:44:06 +00:00
Add settings for frontend instance URL
This commit is contained in:
@@ -51,6 +51,7 @@ extension VideosAPI {
|
||||
func shareURL(_ item: ContentItem) -> URL {
|
||||
var urlComponents = account.instance.urlComponents
|
||||
urlComponents.host = account.instance.frontendHost
|
||||
|
||||
switch item.contentType {
|
||||
case .video:
|
||||
urlComponents.path = "/watch"
|
||||
|
Reference in New Issue
Block a user