scratch-www/server/config.js

30 lines
853 B
JavaScript
Raw Normal View History

module.exports = {
2015-11-03 10:44:56 -05:00
// Bind environment
api_host: process.env.API_HOST || 'https://api.scratch.mit.edu',
// Search and metadata
title: 'Imagine, Program, Share',
description:
'Scratch is a free programming language and online community ' +
'where you can create your own interactive stories, games, ' +
'and animations.',
// Open graph
2015-10-29 18:40:56 -04:00
og_image: 'https://scratch.mit.edu/images/scratch-og.png',
og_image_type: 'image/png',
og_image_width: 986,
og_image_height: 860,
// Analytics & Monitoring
2015-10-25 18:58:17 -04:00
ga_tracker: process.env.GA_TRACKER || '',
2015-11-06 17:08:50 -05:00
// Error handling
sentry_dsn: process.env.CLIENT_SENTRY_DSN || '',
2015-11-06 17:08:50 -05:00
2015-10-25 18:58:17 -04:00
// Use minified JS libraries
2016-03-18 11:51:22 -04:00
min: (process.env.NODE_ENV === 'production') ? '.min' : '',
// Redux likes to have this
NODE_ENV: process.env.NODE_ENV
};