File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
frontend/src/pages/Settings Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -195,11 +195,11 @@ const internalAccessList = {
195195 ) ;
196196
197197 await internalAccessList . build ( freshRow )
198- if ( Number . parseInt ( row . proxy_host_count , 10 ) ) {
199- await internalNginx . bulkGenerateConfigs ( "proxy_host" , row . proxy_hosts ) ;
198+ if ( Number . parseInt ( freshRow . proxy_host_count , 10 ) ) {
199+ await internalNginx . bulkGenerateConfigs ( "proxy_host" , freshRow . proxy_hosts ) ;
200200 }
201201 await internalNginx . reload ( ) ;
202- return internalAccessList . maskItems ( row ) ;
202+ return internalAccessList . maskItems ( freshRow ) ;
203203 } ,
204204
205205 /**
Original file line number Diff line number Diff line change @@ -381,14 +381,14 @@ const internalNginx = {
381381 } ,
382382
383383 /**
384- * @param {String } host_type
384+ * @param {String } hostType
385385 * @param {Array } hosts
386386 * @returns {Promise }
387387 */
388- bulkGenerateConfigs : ( host_type , hosts ) => {
388+ bulkGenerateConfigs : ( hostType , hosts ) => {
389389 const promises = [ ] ;
390390 hosts . map ( ( host ) => {
391- promises . push ( internalNginx . generateConfig ( host_type , host ) ) ;
391+ promises . push ( internalNginx . generateConfig ( hostType , host ) ) ;
392392 return true ;
393393 } ) ;
394394
Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ export default function DefaultSite() {
172172 < span className = "form-selectgroup-check" />
173173 </ div >
174174 < div >
175- < T id = "settings.default-site.redirect " />
175+ < T id = "settings.default-site.html " />
176176 </ div >
177177 </ div >
178178 </ label >
You can’t perform that action at this time.
0 commit comments