Wworking on improving the tool
This commit is contained in:
@@ -80,6 +80,7 @@ func main() {
|
||||
// Copy uPlot CSS and favicon
|
||||
copyFile(filepath.Join(root, "web", "vendor", "uplot.css"), filepath.Join(distDir, "uplot.css"))
|
||||
copyFile(filepath.Join(root, "web", "public", "favicon.svg"), filepath.Join(distDir, "favicon.svg"))
|
||||
copyFile(filepath.Join(root, "web", "public", "favicon.svg"), filepath.Join(distDir, "favicon.ico"))
|
||||
|
||||
// Write index.html
|
||||
html := `<!doctype html>
|
||||
@@ -88,6 +89,7 @@ func main() {
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>uopi</title>
|
||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
||||
<link rel="stylesheet" href="/uplot.css" />
|
||||
<link rel="stylesheet" href="/main.css" />
|
||||
|
||||
Reference in New Issue
Block a user