File tree 4 files changed +8
-5
lines changed
4 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 3
3
ServerName [domain ]
4
4
ServerAlias [domain]
5
5
DocumentRoot "[root]"
6
- ErrorLog logs/[project].log
7
- CustomLog logs/[project].log combined
6
+ ErrorLog " logs/[project].log"
7
+ CustomLog " logs/[project].log" combined
8
8
<Directory "[root]" >
9
9
Options FollowSymLinks Indexes
10
10
AllowOverride All
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " edit-virtual-hosts" ,
3
- "version" : " 0.6.3 " ,
3
+ "version" : " 0.6.4 " ,
4
4
"description" : " Edit Virtual Hosts" ,
5
5
"main" : " main.js" ,
6
6
"repository" : " https://github.com/manngo/edit-virtual-hosts" ,
Original file line number Diff line number Diff line change @@ -423,7 +423,8 @@ console.log(`Tab: ${t}\nValue: ${value}\nStatus: ${status}`);
423
423
}
424
424
}
425
425
else {
426
- tabMessage ( tab , 'Saved' , 'saved' ) ;
426
+ tabs [ tab ] . button . removeAttribute ( 'data-status' ) ;
427
+ tabMessage ( tab , 'Saved' , 'saved' ) ;
427
428
}
428
429
} ) ;
429
430
}
@@ -580,9 +581,11 @@ console.log(more);
580
581
event . preventDefault ( ) ;
581
582
if ( ! server ) return ;
582
583
var vhostdefault = form [ 'vhost-default' ] . checked ? servers [ server ] . vhostdefault + os . EOL + os . EOL : '' ;
584
+ vhost = vhost . sprintf ( {
585
+ htdocs : serverRoot + servers [ server ] [ platform ] . htdocs
586
+ } ) ;
583
587
var vhost = vhostdefault + servers [ server ] . vhost ;
584
588
vhost = vhost . sprintf ( {
585
- htdocs : serverRoot + servers [ server ] [ platform ] . htdocs ,
586
589
project : form . elements . project . value ,
587
590
domain : form . elements . domain . value ,
588
591
root : form . elements . root . value ,
You can’t perform that action at this time.
0 commit comments