Added origin config to use in summaries. Added link property to summaries for local traxxx URL.
This commit is contained in:
@@ -431,7 +431,7 @@ function selectTemplate(templateId, allowFallback = true) {
|
||||
|
||||
const template = targetTemplate || templates[0];
|
||||
|
||||
summary.value = processSummaryTemplate(template.template, scene);
|
||||
summary.value = processSummaryTemplate(template.template, scene, env);
|
||||
selectedTemplate.value = template.id;
|
||||
|
||||
cookies.set('selectedTemplate', String(templateId));
|
||||
|
||||
@@ -104,7 +104,9 @@ const now = new Date();
|
||||
const mockupRelease = {
|
||||
id: 0,
|
||||
title: 'Nut For Human Consumption',
|
||||
url: 'https://traxxx.me/scene/0/nut-for-human-consumption',
|
||||
slug: 'nut-for-human-consumption',
|
||||
link: 'https://traxxx.me/scene/0/nut-for-human-consumption',
|
||||
url: 'https://example.com/video/12345/nut-for-human-consumption',
|
||||
date: now,
|
||||
effectiveDate: now,
|
||||
createdAt: new Date(now.getFullYear(), 0, 1),
|
||||
|
||||
Reference in New Issue
Block a user