Skip to content

Commit

Permalink
[ADD] 소켓 테스트 파일 생성
Browse files Browse the repository at this point in the history
  • Loading branch information
J1NC committed Nov 10, 2018
1 parent b8cac73 commit 1fae83e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions routes/socket.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>socket</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/2.1.1/socket.io.js" ></script>
</head>
<body>

</body>
</html>
2 changes: 1 addition & 1 deletion routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/** @var \Laravel\Lumen\Routing\Router $router */
$router->get('/', function () use ($router) {
return $router->app->version();
return response()->make(include 'socket.html', 200);
});

$router->group(['prefix' => 'api'], function () use ($router) {
Expand Down

0 comments on commit 1fae83e

Please sign in to comment.