Migrate to checker-sdk-go v1.3.0 with new server subpackage
The SDK split the HTTP server scaffolding into the new checker-sdk-go/checker/server subpackage. Update main.go to import server and call server.New.
This commit is contained in:
parent
6a82601ae8
commit
a9a704c0ff
4 changed files with 8 additions and 8 deletions
|
|
@ -71,7 +71,7 @@ var zonemasterHTMLTemplate = template.Must(
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Zonemaster{{if .Domain}} — {{.Domain}}{{end}}</title>
|
||||
<title>Zonemaster{{if .Domain}}, {{.Domain}}{{end}}</title>
|
||||
<style>
|
||||
*, *::before, *::after { box-sizing: border-box; }
|
||||
:root {
|
||||
|
|
@ -157,7 +157,7 @@ details[open] > summary::before { transform: rotate(90deg); }
|
|||
<body>
|
||||
|
||||
<div class="hd">
|
||||
<h1>Zonemaster{{if .Domain}} — <code>{{.Domain}}</code>{{end}}</h1>
|
||||
<h1>Zonemaster{{if .Domain}}, <code>{{.Domain}}</code>{{end}}</h1>
|
||||
<div class="meta">
|
||||
{{- if .CreatedAt}}Run at {{.CreatedAt}}{{end -}}
|
||||
{{- if and .CreatedAt .HashID}} · {{end -}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue