Fix package name

This commit is contained in:
David Stotijn 2020-09-26 00:15:10 +02:00
parent 35753c55a1
commit 618ed61314
2 changed files with 4 additions and 3 deletions

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
**/rice-box.go **/rice-box.go
dist dist
hetty

View file

@ -1,4 +1,4 @@
package hetty package main
import ( import (
"crypto/tls" "crypto/tls"
@ -56,7 +56,7 @@ func main() {
var adminHandler http.Handler var adminHandler http.Handler
if adminPath == "" { if adminPath == "" {
// Use // Used for embedding with `rice`.
box, err := rice.FindBox("../../admin/dist") box, err := rice.FindBox("../../admin/dist")
if err != nil { if err != nil {
log.Fatalf("[FATAL] Could not find embedded admin resources: %v", err) log.Fatalf("[FATAL] Could not find embedded admin resources: %v", err)