Skip to content

Commit

Permalink
Added editor config file.
Browse files Browse the repository at this point in the history
  • Loading branch information
lerox committed May 31, 2017
1 parent 85fddde commit 5cb446e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# editorconfig.org
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
2 changes: 1 addition & 1 deletion public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
});

$app->get('/', function ($request, $response, $args) {
$response = $response->withHeader('Content-Type', 'application/json; charset=UTF-8');
$response = $response->withHeader('Content-Type', 'application/json; charset=UTF-8');
return $response->withStatus(200)->write('{"message":"It\'s working"}');
});

Expand Down

0 comments on commit 5cb446e

Please sign in to comment.