Skip to content

Commit

Permalink
fix: urls
Browse files Browse the repository at this point in the history
  • Loading branch information
djpiper28 committed Mar 4, 2024
1 parent 0b036fa commit 0624626
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kube_cache/server/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ func (s *Server) IndexPost(c *gin.Context) {
<body>
<h1>New Kube: %s</h1>
<p><a href='./'>Back</a></p>
<img src="./kubeImageById/%s" style="max-width: 100px; max-height: 100px;" loading="lazy" alt="%s"/>
<p><a href="./private/kubeImageByIdNew/%s">Regenerate Image</a></p>
<img src="../kubeImageById/%s" style="max-width: 100px; max-height: 100px;" loading="lazy" alt="%s"/>
<p><a href="../private/kubeImageByIdNew/%s">Regenerate Image</a></p>
</body>`,
kube.Name,
kube.Id,
Expand All @@ -66,8 +66,8 @@ func (s *Server) Index(c *gin.Context) {
for _, kube := range kubes {
kubesHtml += fmt.Sprintf(`<div style="max-width: 100px;">
<h3 style="word-wrap: break-word">%s</h3>
<a href="../private/kubeImageByIdNew/%s">Regenerate Image</a>
<img src="../kubeImageById/%s" style="max-width: 100px; max-height: 100px" loading="lazy" alt="%s"/>
<a href="./private/kubeImageByIdNew/%s">Regenerate Image</a>
<img src="./kubeImageById/%s" style="max-width: 100px; max-height: 100px" loading="lazy" alt="%s"/>
</div>`, kube.Name, kube.Id, kube.Id, kube.Name)
}

Expand Down

0 comments on commit 0624626

Please sign in to comment.