Skip to content

Commit 48c9242

Browse files
committed
[minor] Small style change from http-party#62.
1 parent 84ff2a2 commit 48c9242

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/http-server

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,10 @@ function listen(port) {
6666
};
6767

6868
if (argv.cors) {
69-
options.headers = { 'Access-Control-Allow-Origin': '*',
70-
'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept' };
69+
options.headers = {
70+
'Access-Control-Allow-Origin': '*',
71+
'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept'
72+
};
7173
}
7274

7375
if (argv.S) {

0 commit comments

Comments
 (0)