mirror of
https://github.com/dstotijn/hetty.git
synced 2025-07-01 18:47:29 -04:00
Fix package name
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
**/rice-box.go
|
**/rice-box.go
|
||||||
dist
|
dist
|
||||||
|
hetty
|
@ -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)
|
||||||
|
Reference in New Issue
Block a user