Skip to content

Commit

Permalink
Merge pull request xtermjs#2098 from Tyriar/2093_logo_demo
Browse files Browse the repository at this point in the history
Use logo in demo
  • Loading branch information
Tyriar authored May 19, 2019
2 parents e83aa64 + c7416a6 commit 72e6863
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Binary file added demo/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions demo/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 72e6863

Please sign in to comment.