page, stream: drop leftover selfURL usage
This commit is contained in:
parent
e5045df9af
commit
b0996b85fb
2 changed files with 3 additions and 3 deletions
|
@ -48,10 +48,10 @@ export default function(obj) {
|
|||
|
||||
<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: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="description" content="${t('AboutSummary')}">
|
||||
<meta name="theme-color" content="#000000">
|
||||
|
|
|
@ -43,7 +43,7 @@ export function createStream(obj) {
|
|||
exp = streamInfo.exp;
|
||||
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) {
|
||||
|
|
Loading…
Reference in a new issue