From 618ed613149c65de40094807220cf8d0907f2da4 Mon Sep 17 00:00:00 2001 From: David Stotijn Date: Sat, 26 Sep 2020 00:15:10 +0200 Subject: [PATCH] Fix package name --- .gitignore | 3 ++- cmd/hetty/main.go | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 5f72d24..e0befa4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ **/rice-box.go -dist \ No newline at end of file +dist +hetty \ No newline at end of file diff --git a/cmd/hetty/main.go b/cmd/hetty/main.go index 086648c..2382574 100644 --- a/cmd/hetty/main.go +++ b/cmd/hetty/main.go @@ -1,4 +1,4 @@ -package hetty +package main import ( "crypto/tls" @@ -56,7 +56,7 @@ func main() { var adminHandler http.Handler if adminPath == "" { - // Use + // Used for embedding with `rice`. box, err := rice.FindBox("../../admin/dist") if err != nil { log.Fatalf("[FATAL] Could not find embedded admin resources: %v", err)