Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2023-08-19 17:33:25 +03:00
parent 59e28e5a86
commit 16b38a5578
8 changed files with 15 additions and 170 deletions

View File

@@ -3,6 +3,7 @@ package main
import (
"context"
"crypto/tls"
"embed"
"net/http"
"time"
@@ -40,6 +41,10 @@ var (
AppVersion string = "latest" // filled when build
)
//go:generate cp -vr ../../ui/dist/ui assets/
//go:embed assets/*
var assets embed.FS
func main() {
ctx, cancel := context.WithCancel(context.Background())
defer cancel()