Skip to content

Commit

Permalink
Move public facing html into /docs folder
Browse files Browse the repository at this point in the history
  • Loading branch information
robbie-c committed Apr 26, 2017
1 parent 77dd626 commit 366e8c1
Show file tree
Hide file tree
Showing 20 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/html/index.html → docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
</head>
<body>
<h1>Sardines</h1>
<a href="/sardines-v1.1.0/index.html">Play</a>
</body>
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion server/tcp.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ let playerIdCounter = 0;

export default function createWsServer (onNewConnection, onMessage, onError, onDisconnect) {
const app = express();
app.use(express.static('server/html'));
app.use(express.static('docs'));

const httpServer = http.createServer(app);

Expand Down

0 comments on commit 366e8c1

Please sign in to comment.