1
0
mirror of https://github.com/schollz/cowyo.git synced 2023-08-10 21:13:00 +03:00

Added HTTPS session support

This commit is contained in:
Zealotree 2017-06-23 10:26:13 -04:00
parent 2101b706d3
commit 956cef54df
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package main
import (
"fmt"
"os"
"time"
@ -38,7 +37,6 @@ func main() {
} else {
fmt.Printf("\nRunning cowyo server (version %s) at http://%s:%s\n\n", version, host, c.GlobalString("port"))
}
fmt.Println(TLS)
serve(c.GlobalString("host"), c.GlobalString("port"), c.GlobalString("cert"), c.GlobalString("key"), TLS)
return nil
}

View File

@ -398,6 +398,7 @@
<li class="pure-menu-item pure-menu-has-children pure-menu-allow-hover">
<a href="#" id="menuLink1" class="pure-menu-link">{{ .Page }}</a>
<ul class="pure-menu-children">
<li class="pure-menu-item"><a href="https://localhost:8050/Home/view" class="pure-menu-link">New</a></li>
<li class="pure-menu-item"><a href="/" class="pure-menu-link">New</a></li>
<li class="pure-menu-item"><a href="https://github.com/schollz/cowyo" class="pure-menu-link">Source</a></li>
<hr>