Browse Source

Theme scripts file

Vova Tkach 6 years ago
parent
commit
943c9f9b45
1 changed files with 3 additions and 0 deletions
  1. 3 0
      main.go

+ 3 - 0
main.go

@@ -148,6 +148,9 @@ func main() {
 		if ServeTemplateFile(w, r, "styles.css", "assets/theme/", vhost_dir_template) {
 			return
 		}
+		if ServeTemplateFile(w, r, "scripts.js", "assets/theme/", vhost_dir_template) {
+			return
+		}
 
 		// Session
 		sess := session.New(w, r, vhost_dir_tmp)