mirror of
https://github.com/dstotijn/hetty
synced 2024-11-10 06:04:19 +00:00
Fix package name
This commit is contained in:
parent
35753c55a1
commit
618ed61314
2 changed files with 4 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
**/rice-box.go
|
||||
dist
|
||||
hetty
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue