Add static serving
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
<meta name="charset" content="utf-8" />
|
||||
<title>barcodes</title>
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
<!-- CSS and JS Inclusions -->
|
||||
<link rel="stylesheet" type="text/css" href="/style.css">
|
||||
{{ template "head" . }}
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="author" content="Frederick Boniface" />
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
{{ define "title" }}API Documentation{{ end }}
|
||||
|
||||
{{ define "head" }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "body" }}
|
||||
<p>API Requests can be made by making a POST request to /generate</p>
|
||||
|
||||
|
||||
7
templates/index.html
Normal file
7
templates/index.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{{ define "title" }}barcodes{{ end }}
|
||||
|
||||
{{ define "head" }}
|
||||
{{ end }}
|
||||
|
||||
{{ define "body" }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user