mirror of
https://github.com/dstotijn/hetty
synced 2025-02-16 20:28:27 +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
|
**/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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue