Use logo in demo

Fixes #2093
This commit is contained in:
Daniel Imms
2019-05-18 19:56:28 -07:00
parent ac48ef977b
commit c7416a6eaa
3 changed files with 2 additions and 0 deletions
+1
View File
@@ -2,6 +2,7 @@
<html>
<head>
<title>xterm.js demo</title>
<link rel="shortcut icon" type="image/png" href="/logo.png">
<link rel="stylesheet" href="/src/xterm.css" />
<link rel="stylesheet" href="style.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/es6-promise/4.1.1/es6-promise.auto.min.js"></script>
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

+1
View File
@@ -18,6 +18,7 @@ function startServer() {
logs = {};
app.use('/src', express.static(__dirname + '/../src'));
app.get('/logo.png', (req, res) => res.sendFile(__dirname + '/logo.png'));
app.get('/', function(req, res){
res.sendFile(__dirname + '/index.html');