Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 826b0f5

Browse files
committed
+ Added 'siteBaseURL' and 'authKeys' options to the appdev config file template
1 parent 12210c4 commit 826b0f5

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

templates/install/config/appdev.js

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,29 @@ module.exports.appdev = {
3636
'authURI': 'site/login',
3737

3838

39+
// Full URL to this site
40+
//'siteBaseURL': 'http://www.example.com:1337',
41+
42+
43+
// Keys that can be passed in through the 'authorization' http request
44+
// header. They will cause requests with them to be seen as coming from an
45+
// existing user.
46+
'authKeys': {
47+
/*
48+
// example--
49+
'some_user_guid': [
50+
'auth_key_#1 in an array',
51+
'auth_key_#2 in an array',
52+
...
53+
],
54+
'some_other_guid': 'single key as a string',
55+
'admin_guid': [
56+
'c81878992a3b08b28781ac553db6ea1212781dd0',
57+
'c9009fa7de950bf5fb69185ba1d5e619b7a993a3'
58+
],
59+
...
60+
*/
61+
},
3962

4063

4164
// Which language is the default language to use when none specified:

0 commit comments

Comments
 (0)