1 | // Default options
|
2 |
|
3 | module.exports = {
|
4 | host: "", // apptrack host, if serving apptrack from a separate domain
|
5 | domains: [], // list of accepted domains, that can submit tracking data (host is automatically added)
|
6 | routes: {
|
7 | client: "/apptrack.js", // the location where the client-side js is output
|
8 | input: "/input", // the path that is receiving the client-side data...
|
9 | output: false // an endpoint to output the latest data (by default disabled)
|
10 | },
|
11 | store: "memory", // options: memory, redis, mongodb, simpledb
|
12 | //middleware: true, // flag if lib is used as middleware (or directly)
|
13 | db: false // db where tokens are stored
|
14 |
|
15 | } |
\ | No newline at end of file |