mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-10 07:54:18 +08:00
refactored command with steps
This commit is contained in:
@@ -353,6 +353,8 @@
|
||||
|
||||
$scope.clipboardCopy = undefined;
|
||||
|
||||
$scope.activeStep = 'download';
|
||||
|
||||
$scope.gzipTypes = 'text/plain text/css text/xml application/json application/javascript application/rss+xml application/atom+xml image/svg+xml';
|
||||
|
||||
$scope.extensions = {
|
||||
@@ -489,6 +491,10 @@
|
||||
});
|
||||
};
|
||||
|
||||
$scope.setActiveStep = function(step) {
|
||||
$scope.activeStep = step;
|
||||
};
|
||||
|
||||
$scope.getSiteChanges = function(site) {
|
||||
if ($scope.siteChanges[site] === undefined) {
|
||||
return undefined;
|
||||
|
Reference in New Issue
Block a user