-
Notifications
You must be signed in to change notification settings - Fork 4
/
config.dist.js
45 lines (37 loc) · 919 Bytes
/
config.dist.js
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
"use strict";
module.exports = {
db: {
host: '',
port: 3306,
user: '',
password: '',
type: '',
database: '',
// Database filename for SQLite
filename: '',
// For debugging, log SQL statements to the console
debug: true
},
authorization_provider: {
name: "Example AP",
authorization_uri: "https://ap.example.com/authorized",
base_uri: "https://ap.example.com",
modes: ["client", "user"],
// Access token for making authenticated requests to the authorization
// provider
access_token: ""
},
service_provider: {
name: process.env.SERVICE_PROVIDER_ID || "STATION_NAME",
domain: "sp.example.com"
},
// Cross-origin resource sharing
cors: {
enabled: true,
allowed_domains: [
"http://cpa-client.ebu.io"
]
},
// URL path prefix, e.g., '/myapp'
urlPrefix: ''
};