Skip to content

Commit

Permalink
Fix thumbnails directory path
Browse files Browse the repository at this point in the history
  • Loading branch information
jfontan committed Jul 15, 2021
1 parent ee7da18 commit 0c0f22b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
@@ -1,7 +1,7 @@
version: "3.9"
services:
glslsandbox:
image: glslsandbox
image: ghcr.io/jfontan/glsl-sandbox:latest
volumes:
- ./data:/data
ports:
Expand Down
2 changes: 1 addition & 1 deletion server/server.go
Expand Up @@ -89,7 +89,7 @@ func (s *Server) routes() {
s.echo.POST("/e", s.saveHandler)
s.echo.GET("/item/:id", s.itemHandler)

s.echo.Static("/thumbs", "./data/thumbs")
s.echo.Static("/thumbs", filepath.Join(s.dataPath, "thumbs"))
s.echo.Static("/css", "./server/assets/css")
s.echo.Static("/js", "./server/assets/js")
s.echo.File("/diff", "./server/assets/diff.html")
Expand Down

0 comments on commit 0c0f22b

Please sign in to comment.