mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-10-22 04:06:54 +00:00
extract commit update js into a separate file
This commit is contained in:
@@ -111,6 +111,7 @@ func setupDatabase() {
|
||||
func setupStatic() {
|
||||
box := rice.MustFindBox("assets")
|
||||
http.Handle("/css/", http.FileServer(box.HTTPBox()))
|
||||
http.Handle("/js/", http.FileServer(box.HTTPBox()))
|
||||
|
||||
// we need to intercept all attempts to serve images
|
||||
// so that we can add a cache-control settings
|
||||
|
Reference in New Issue
Block a user