Skip to content

Commit

Permalink
Merge pull request ipfs/kubo#2997 from ipfs/feat/gpg-key
Browse files Browse the repository at this point in the history
assets: add security@ipfs.io GPG key

This commit was moved from ipfs/kubo@1261b90
  • Loading branch information
whyrusleeping authored Nov 2, 2016
2 parents b3304c4 + 282600f commit 13ad44e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions gateway/core/corehttp/gateway_indexPage.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ type directoryItem struct {
var listingTemplate *template.Template

func init() {
assetPath := "../vendor/dir-index-html-v1.0.0/"
knownIconsBytes, err := assets.Asset(assetPath + "knownIcons.txt")
knownIconsBytes, err := assets.Asset("dir-index-html/knownIcons.txt")
if err != nil {
panic(err)
}
Expand All @@ -53,7 +52,7 @@ func init() {
}

// Directory listing template
dirIndexBytes, err := assets.Asset(assetPath + "dir-index.html")
dirIndexBytes, err := assets.Asset("dir-index-html/dir-index.html")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 13ad44e

Please sign in to comment.