Compare commits

...

2 Commits

Author SHA1 Message Date
Kelvin Ly 6d322baeaf Update CSS 2019-12-22 13:59:39 -05:00
Kelvin Ly (on the cloud) 65c594e808 Update certificate path TODO find a better way to access certificate 2019-12-22 18:27:39 +00:00
3 changed files with 4 additions and 3 deletions

View File

@ -11,6 +11,7 @@ body {
background-color: rgb(240, 240, 240); background-color: rgb(240, 240, 240);
position: relative; position: relative;
min-height: 100vh; min-height: 100vh;
font-family: 'Roboto', sans-serif;
} }
article { article {

View File

@ -241,8 +241,8 @@ func startServer(srv *http.Server) {
srv.Handler = Gzip(serveMux) srv.Handler = Gzip(serveMux)
log.Print("starting server at " + srv.Addr) log.Print("starting server at " + srv.Addr)
if !DEBUG { if !DEBUG {
log.Fatal(srv.ListenAndServeTLS("/etc/letsencrypt/live/"+DOMAIN_NAME+"/fullchain.pem", log.Fatal(srv.ListenAndServeTLS("/etc/letsencrypt/live/"+DOMAIN_NAME+"-0001/fullchain.pem",
"/etc/letsencrypt/live/"+DOMAIN_NAME+"/privkey.pem")) "/etc/letsencrypt/live/"+DOMAIN_NAME+"-0001/privkey.pem"))
} else { } else {
log.Fatal(srv.ListenAndServe()) log.Fatal(srv.ListenAndServe())
} }

2
static

@ -1 +1 @@
Subproject commit bb1cf35fa6ed759fdeb78d405c0f57d06f613c5b Subproject commit ef94b776f38baf395f9e4ceaa98c1be286578115