mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Bumped version
This commit is contained in:
parent
fe774bce48
commit
bcda5fc69b
4
main.go
4
main.go
@ -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")
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user