node.js disable root

beta
Szekeres Bálint 2019-01-06 17:07:52 +01:00
parent 14546c941d
commit 014598b589
2 changed files with 2 additions and 1 deletions

View File

@ -466,6 +466,7 @@
break;
case 'nodejs':
$scope.data.sites[$scope.site].proxy = true;
$scope.data.sites[$scope.site].root = false;
break;
case 'django':
$scope.data.sites[$scope.site].php = false;

View File

@ -51,7 +51,7 @@
<button
type="button"
class="btn btn-sm btn-outline-light"
ng-class="{ 'active': isProxy() }"
ng-class="{ 'active': isProxy() && !isRoot() }"
ng-click="setPreset('nodejs')"
tooltips
tooltip-template="• enabled reverse proxy"