-
Notifications
You must be signed in to change notification settings - Fork 14
/
config.js
23 lines (22 loc) · 1009 Bytes
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import path from 'path';
export const port = process.env.PORT || 3000;
export const staticPath = path.resolve(__dirname, '..', 'static');
export const rootDir = path.resolve(__dirname, '..');
export const apiPath = 'https://api.github.com'; // We use github api for example
export const head = {
titleTemplate: 'Racket: %s',
meta: [
{ name: 'description', content: 'Scaffold a react universal app with racket' },
{ charset: 'utf-8' },
{ property: 'og:site_name', content: 'Racket' },
{ property: 'og:image', content: '/logo.jpg' },
{ property: 'og:locale', content: 'en_US' },
{ property: 'og:title', content: 'Racket' },
{ property: 'og:description', content: 'Scaffold a react universal app with racket' },
{ property: 'og:card', content: 'summary' },
{ property: 'og:site', content: '@mohebifar' },
{ property: 'og:creator', content: '@mohebifar' },
{ property: 'og:image:width', content: '200' },
{ property: 'og:image:height', content: '200' }
]
};