mirror of
https://github.com/dstotijn/hetty
synced 2024-11-22 11:43:09 +00:00
Fix package name
This commit is contained in:
parent
35753c55a1
commit
618ed61314
2 changed files with 4 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,2 +1,3 @@
|
|||
**/rice-box.go
|
||||
dist
|
||||
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