mirror of
https://github.com/wukko/cobalt.git
synced 2025-05-01 06:44:24 +02:00
page, stream: drop leftover selfURL usage
This commit is contained in:
parent
e5045df9af
commit
b0996b85fb
@ -48,10 +48,10 @@ export default function(obj) {
|
|||||||
|
|
||||||
<title>${t("AppTitleCobalt")}</title>
|
<title>${t("AppTitleCobalt")}</title>
|
||||||
|
|
||||||
<meta property="og:url" content="${process.env.webURL || process.env.selfURL}">
|
<meta property="og:url" content="${process.env.webURL}">
|
||||||
<meta property="og:title" content="${t("AppTitleCobalt")}">
|
<meta property="og:title" content="${t("AppTitleCobalt")}">
|
||||||
<meta property="og:description" content="${t('EmbedBriefDescription')}">
|
<meta property="og:description" content="${t('EmbedBriefDescription')}">
|
||||||
<meta property="og:image" content="${process.env.webURL || process.env.selfURL}icons/generic.png">
|
<meta property="og:image" content="${process.env.webURL}icons/generic.png">
|
||||||
<meta name="title" content="${t("AppTitleCobalt")}">
|
<meta name="title" content="${t("AppTitleCobalt")}">
|
||||||
<meta name="description" content="${t('AboutSummary')}">
|
<meta name="description" content="${t('AboutSummary')}">
|
||||||
<meta name="theme-color" content="#000000">
|
<meta name="theme-color" content="#000000">
|
||||||
|
@ -43,7 +43,7 @@ export function createStream(obj) {
|
|||||||
exp = streamInfo.exp;
|
exp = streamInfo.exp;
|
||||||
ghmac = streamInfo.hmac;
|
ghmac = streamInfo.hmac;
|
||||||
}
|
}
|
||||||
return `${process.env.apiURL || process.env.selfURL}api/stream?t=${streamID}&e=${exp}&h=${ghmac}`;
|
return `${process.env.apiURL}api/stream?t=${streamID}&e=${exp}&h=${ghmac}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
export function verifyStream(id, hmac, exp) {
|
export function verifyStream(id, hmac, exp) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user