fix: correct url copy
This commit is contained in:
parent
2fc154f8a4
commit
eba9e8b5d0
@ -1,2 +1,2 @@
|
|||||||
export const ssr = false;
|
export const ssr = true;
|
||||||
export const prerender = false;
|
export const prerender = false;
|
||||||
|
@ -4,7 +4,7 @@ import { PUBLIC_BASEURL } from '$env/static/public';
|
|||||||
export const scheme = dev ? 'http' : 'https';
|
export const scheme = dev ? 'http' : 'https';
|
||||||
|
|
||||||
export function makeShareUrl(token: string) {
|
export function makeShareUrl(token: string) {
|
||||||
return `${PUBLIC_BASEURL}/share/${token}`;
|
return `${scheme}://${PUBLIC_BASEURL}/share/${token}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getAudioElement() {
|
export function getAudioElement() {
|
||||||
|
Loading…
Reference in New Issue
Block a user