forked from itteco/iframely
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.local.js.SAMPLE
85 lines (74 loc) · 2.28 KB
/
config.local.js.SAMPLE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
(function() {
var config = {
DEBUG: false,
RICH_LOG_ENABLED: false,
baseAppUrl: "http://yourdomain.com",
relativeStaticUrl: "/r",
port: 8061,
/*
Supported cache engines:
- no-cache - no caching will be used.
- node-cache - good for debug, node memory will be used (https://github.com/tcs-de/nodecache).
- redis - https://github.com/mranney/node_redis.
- memcached - https://github.com/3rd-Eden/node-memcached
*/
CACHE_ENGINE: 'node-cache',
CACHE_TTL: 24 * 60 * 60, // In seconds.
/*
// Redis cache options.
REDIS_OPTIONS: {
host: '127.0.0.1',
port: 6379
},
*/
/*
// Memcached options. See https://github.com/3rd-Eden/node-memcached#server-locations
MEMCACHED_OPTIONS: {
locations: "127.0.0.1:11211"
}
*/
/*
// Access-Control-Allow-Origin list.
allowedOrigins: [
"*",
"http://another_domain.com"
],
*/
/*
// Uncomment to enable plugin testing framework.
tests: {
mongodb: 'mongodb://localhost:27017/iframely-tests',
single_test_timeout: 10 * 1000,
plugin_test_period: 2 * 60 * 60 * 1000,
relaunch_script_period: 5 * 60 * 1000
},
*/
metaLoadingTimeout: 15 * 1000,
providerOptions: {
"twitter.status": {
"max-width": 550,
"min-width": 250,
consumer_key: 'INSERT YOUR VALUE',
consumer_secret: 'INSERT YOUR VALUE',
access_token: 'INSERT YOUR VALUE',
access_token_secret: 'INSERT YOUR VALUE',
hide_media: false,
hide_thread: false,
omit_script: false
},
flickr: {
apiKey: 'INSERT YOUR VALUE'
},
"google.maps": {
// apiKey: 'INSERT YOUR VALUE' // not required, but recommended
},
readability: {
enabled: true
},
tumblr: {
consumer_key: "INSERT YOUR VALUE"
}
}
};
module.exports = config;
})();