Skip to content

Commit

Permalink
Merge pull request #4 from epadalkin/feature/fix_load_preview
Browse files Browse the repository at this point in the history
add more static js to Cache-Control
  • Loading branch information
tafonina authored Feb 22, 2023
2 parents 42938d9 + eb86793 commit 20e0707
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 36 deletions.
2 changes: 1 addition & 1 deletion main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ func main() {
e := www.Setup(ServerVersion)

// Static route
e.GET("/static/*", StaticHandler)
e.GET("/*", StaticHandler)

// Initial config middleware
configured, err := system.Configured()
Expand Down
60 changes: 25 additions & 35 deletions test/assets/bindata.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 20e0707

Please sign in to comment.