Skip to content

Commit

Permalink
Bump version of dir-index-html
Browse files Browse the repository at this point in the history
Based on ipfs/kubo#1615

License: MIT
Signed-off-by: rht <[email protected]>


This commit was moved from ipfs/kubo@8ec1212
  • Loading branch information
rht committed Sep 4, 2015
1 parent f3078ca commit 51e7b8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions gateway/core/corehttp/gateway_indexPage.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package corehttp

import (
"github.com/ipfs/go-ipfs/assets"
"html/template"
"path"
"strings"

"github.com/ipfs/go-ipfs/assets"
)

// structs for directory listing
Expand All @@ -23,7 +24,7 @@ type directoryItem struct {
var listingTemplate *template.Template

func init() {
assetPath := "../vendor/src/QmeMZwyPnHMkvgdUNtdNcTX425gTCi5DCMeHLwTXbKoUB8/dir-index-html/"
assetPath := "../vendor/dir-index-html-v1.0.0/"
knownIconsBytes, err := assets.Asset(assetPath + "knownIcons.txt")
if err != nil {
panic(err)
Expand Down

0 comments on commit 51e7b8c

Please sign in to comment.