Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.DS_Store
public
public
.idea
9 changes: 5 additions & 4 deletions views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@

<head>
<meta charset='utf8' />
<meta http-equiv='X-UA-Compatible', content='IE=edge, chrome=1' />
<meta name='description', content='description of your site' />
<meta name='author', content= "author of the site" />
<meta http-equiv='X-UA-Compatible' content='IE=edge chrome=1' />
<meta name='description' content='description of your site' />
<meta name='viewport' content='width=device-width, initial-scale=1' >
<meta name='author' content= "author of the site" />

<title>welcome to roots!</title>
<link rel='stylesheet' href='css/example.css' />
Expand All @@ -15,7 +16,7 @@
<h1>hello world</h1>
<p>all is going well here : )</p>

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js'></script>
<script src='js/main.js'></script>
<script>
protocol = window.location.protocol === 'http:' ? 'ws://' : 'wss://'; address = protocol + window.location.host + window.location.pathname + '/ws'; socket = new WebSocket(address); socket.onmessage = function(msg) { msg.data == 'reload' && window.location.reload() }
Expand Down