fix: correct url copy

This commit is contained in:
dusk 2023-05-09 18:01:56 +03:00
parent 2fc154f8a4
commit eba9e8b5d0
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
2 changed files with 62 additions and 62 deletions

View File

@ -1,2 +1,2 @@
export const ssr = false;
export const ssr = true;
export const prerender = false;

View File

@ -4,7 +4,7 @@ import { PUBLIC_BASEURL } from '$env/static/public';
export const scheme = dev ? 'http' : 'https';
export function makeShareUrl(token: string) {
return `${PUBLIC_BASEURL}/share/${token}`;
return `${scheme}://${PUBLIC_BASEURL}/share/${token}`;
}
export function getAudioElement() {