File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -55,9 +55,9 @@ module.exports = {
5555 const pathPublicUrl = settingPublicUrl . slice ( 0 , - 1 ) ;
5656 config . publicUrl = settingPublicUrl ;
5757 config [ 'access:trustedAuthUrls' ] = [ settingPublicUrl ] ;
58- config [ 'access: defaultAuthUrl' ] = [
59- pathPublicUrl + wwwPath + '/access/access.html'
60- ] ;
58+ // defaultAuthUrl is assigned to locally served app web auth unless configured
59+ const defaultAuthUrl = settings . get ( 'access:defaultAuthUrl' ) || pathPublicUrl + wwwPath + '/access/access.html' ;
60+ config [ 'access:defaultAuthUrl' ] = [ defaultAuthUrl ] ;
6161
6262 // load admin keys
6363 config . adminKey = settings . get ( 'auth:adminAccessKey' ) ;
Original file line number Diff line number Diff line change 1010auth :
1111 adminAccessKey : REPLACE_ME # key to use for system calls such as `/reg/admin/users`. A random key should be generated on setup.
1212 trustedApps : " *@https://pryv.github.io*, *@https://*.rec.la*, *@https://*.backloop.dev*" # list of web apps that can be trusted-app functionalities
13+
14+ access :
15+ # defaultAuthUrl: https://your.host/path/access/access.html # uncomment to set another path for your app-web-auth3
1316service :
1417 serial : 1000001 # change serial number each time assets content needs to be reloaded by clients
1518 name : Open-Pryv.io
You can’t perform that action at this time.
0 commit comments