forked from DavidAJohnston/ripple-authd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
33 lines (29 loc) · 731 Bytes
/
config.js
File metadata and controls
33 lines (29 loc) · 731 Bytes
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
/**
* Server's hostname.
*
* This name is used in the validated public data and must match what the
* clients think it is.
*/
exports.serverName = "auth.p2pay.com";
/**
* Reference to the server's RSA key.
*/
exports.rsa = require('./rsa.json');
/**
* Domains this authentication server accepts cross-origin requests from.
*
* exports.allowedOriginDomains = ['example.com', 'client.example.net'];
*
* You can allow requests from any origin using:
*
* exports.allowedOriginDomains = ['*'];
*/
exports.allowedOriginDomains = ['*'];
/**
* Whether to allow subdomains of the above.
*/
exports.allowSubdomainOrigin = true;
/**
* Whether to allow origins that aren't using SSL.
*/
exports.allowNonSslOrigin = true;