autoregister sw
This commit is contained in:
parent
cba59e66c7
commit
8f83a27885
6 changed files with 1 additions and 38 deletions
|
|
@ -7,7 +7,6 @@ class UrlBuilder {
|
|||
}
|
||||
|
||||
static public function download(string $url, string $username, string $id, bool $watermark): string {
|
||||
// {path('/download?url=' . urlencode($playAddr) . '&id=' . $id . '&user=' . $uniqueId) . '&watermark=1'}
|
||||
$down_url = Misc::url('/download?url=' . urlencode($url) . '&id=' . $id . '&user=' . $username);
|
||||
if ($watermark) $down_url .= '&watermark=1';
|
||||
return $down_url;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue