Browse Source

Removed check to use static bundle when generating css and js static assets for cogs

Wirecog 6 years ago
parent
commit
09e1fb7084
1 changed files with 0 additions and 4 deletions
  1. 0
    4
      static.go

+ 0
- 4
static.go View File

@@ -101,10 +101,6 @@ func bundleCSS(cssfiles []string) {
101 101
 
102 102
 func BundleStaticAssets() {
103 103
 
104
-	if UseStaticTemplateBundleFile == true {
105
-		return
106
-	}
107
-
108 104
 	jsfiles := findStaticAssets(".js", CogStaticAssetsSearchPaths)
109 105
 	bundleJavaScript(jsfiles)
110 106
 	cssfiles := findStaticAssets(".css", CogStaticAssetsSearchPaths)