Skip to content

Commit

Permalink
[feature] add html title and favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewwww committed Aug 25, 2023
1 parent b6f9f15 commit bf65d37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions api/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,12 @@ import (

func Hello(ctx *gin.Context) {
helloHtml := `
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Crynux Hydrogen(H) Network Relay</title>
<link rel="shortcut icon" type="image/x-icon" href="/static/favicon.ico">
<style>
* {
font-family: "Segoe UI",SegoeUI,"Helvetica Neue",Helvetica,Arial,sans-serif
Expand Down
Binary file added static/favicon.ico
Binary file not shown.

0 comments on commit bf65d37

Please sign in to comment.