update srebot site embed stuff (#1253)
This commit is contained in:
@@ -826,8 +826,18 @@ app.use((req, res, next) => {
|
||||
|
||||
// Routes
|
||||
app.get('/', (req, res) => {
|
||||
const siteUrl = (process.env.PRODUCTION_DOMAIN || 'https://sre.pawjob.us').replace(/\/$/, '');
|
||||
|
||||
res.render('index', {
|
||||
botName: 'Toothless SQB Bot',
|
||||
metaTitle: "Toothless'",
|
||||
metaDescription: 'The Best Squadron Battles Bot.',
|
||||
metaUrl: `${siteUrl}/`,
|
||||
metaImage: `${siteUrl}/images/toothless_match.jpg`,
|
||||
metaImageWidth: 262,
|
||||
metaImageHeight: 262,
|
||||
metaImageAlt: "Toothless'",
|
||||
metaThemeColor: '#90EE90',
|
||||
serverCount: '1,234',
|
||||
userCount: '50,000+',
|
||||
commandCount: '25+'
|
||||
|
||||
Reference in New Issue
Block a user