Add favicon
This commit is contained in:
parent
c2c8b3d073
commit
958ea6813c
4
api.go
4
api.go
@ -20,6 +20,10 @@ func assetContentType(name string) string {
|
||||
return "application/javascript"
|
||||
}
|
||||
|
||||
if strings.Contains(name, ".icon") {
|
||||
return "image/x-icon"
|
||||
}
|
||||
|
||||
return "text/plain"
|
||||
}
|
||||
|
||||
|
BIN
static/img/icon.ico
Normal file
BIN
static/img/icon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 102 KiB |
@ -7,6 +7,7 @@
|
||||
<meta http-equiv="Content-Language" content="en">
|
||||
<link rel="stylesheet" href="/static/css/bootstrap.css"></link>
|
||||
<link rel="stylesheet" href="/static/css/app.css"></link>
|
||||
<link rel="icon" type="image/x-icon" href="/static/img/icon.ico" />
|
||||
<script type="text/javascript" src="/static/js/jquery.js"></script>
|
||||
<script type="text/javascript" src="/static/js/ace.js"></script>
|
||||
<script type="text/javascript" src="/static/js/ace-pgsql.js"></script>
|
||||
@ -65,7 +66,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="connection_window">
|
||||
<div class="connection-settings">
|
||||
<h1>pgweb</h1>
|
||||
|
Loading…
x
Reference in New Issue
Block a user