mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
Bumped version
Former-commit-id: 233bca65b4c97b6fa9d9994f53d5692c4aaee608 [formerly 42b853d2ef81f0228bb8c6c26acd48017c26615d] [formerly b17adf186b4474a662592cb77a2e1551f8821eb1 [formerly bcda5fc69b
]]
Former-commit-id: 5a5a0f15c82c5f23a298dc921197e38b71298424 [formerly 4fdda72b32f570b3be1d5210b0ced6ce0a2682f7]
Former-commit-id: b77e98e3db2abc7ad6a978641086b2c5641224fe
This commit is contained in:
parent
cd08f25300
commit
98dbd6a7f0
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