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

Bumped version

This commit is contained in:
Zack Scholl 2016-06-29 20:07:01 -04:00
parent fe774bce48
commit bcda5fc69b
2 changed files with 3 additions and 3 deletions

View File

@ -46,13 +46,13 @@ func init() {
}
func main() {
VersionNum = "1.0"
VersionNum = "1.1"
// _, executableFile, _, _ := runtime.Caller(0) // get full path of this file
cwd, _ := os.Getwd()
databaseFile := path.Join(cwd, "data.db")
flag.StringVar(&RuntimeArgs.Port, "p", ":8003", "port to bind")
flag.StringVar(&RuntimeArgs.DatabaseLocation, "db", databaseFile, "location of database file")
flag.StringVar(&RuntimeArgs.AdminKey, "a", "", "key to access admin priveleges")
flag.StringVar(&RuntimeArgs.AdminKey, "a", "", "key to access admin privaleges")
flag.StringVar(&RuntimeArgs.ServerCRT, "crt", "", "location of SSL certificate")
flag.StringVar(&RuntimeArgs.ServerKey, "key", "", "location of SSL key")
flag.StringVar(&RuntimeArgs.WikiName, "w", "cowyo", "custom name for wiki")

View File

@ -119,7 +119,7 @@
<li class="dropdown-header">Options</li>
<li><a href="#" class="postencrypt">Encrypt</a></li>
<li><a href="#" class="postlock">Lock</a></li>
<li><a href="#" class="postselfdestruct">Self-dstruct</a></li>
<li><a href="#" class="postselfdestruct">Self-destruct</a></li>
<li><a href="#" id="{{ .Title }}" class="deleteable">Erase</a></li>
</ul>
</li>