Skip to content

Commit

Permalink
mp4 на конце ссылки
Browse files Browse the repository at this point in the history
  • Loading branch information
Spliterash committed Nov 9, 2023
1 parent 8981d4b commit 6a1d003
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package ru.spliterash.vkVideoUnlocker.video

object Routes {
const val UNLOCK = "/videos/unlock/{attachmentId}"
const val DOWNLOAD = "/videos/download/{attachmentId}"
const val DOWNLOAD = "/videos/download/{attachmentId}.mp4"
const val INFO = "/videos/info/{attachmentId}"
}
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ class VideoController(
private val videoService: VideoService,
private val reUploadService: VideoReUploadService,
private val downloadUrlSupplier: DownloadUrlSupplier,
@Value("\${vk-unlocker.domain}") private val domain: String
) {
private val scope = CoroutineScope(Dispatchers.IO + SupervisorJob())
private val cache = Caffeine
Expand Down

0 comments on commit 6a1d003

Please sign in to comment.