Add caching headers for production, fix css for RMO
This commit is contained in:
parent
58da733531
commit
ee7dc1dd08
5 changed files with 17 additions and 10 deletions
|
|
@ -2,15 +2,8 @@ package html
|
|||
|
||||
import (
|
||||
"net/http"
|
||||
"time"
|
||||
)
|
||||
|
||||
func RenderOrError(w http.ResponseWriter, template_name string, content interface{}) {
|
||||
templates.renderOrError(w, template_name, content)
|
||||
}
|
||||
|
||||
var startedTime time.Time
|
||||
|
||||
func SetStartedTime() {
|
||||
startedTime = time.Now()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue