1
0
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 a0f73d2232b5276e02a91954f3db237ebd33f2f6 [formerly bcda5fc69b]]]
Former-commit-id: 5a5a0f15c82c5f23a298dc921197e38b71298424 [formerly 4fdda72b32f570b3be1d5210b0ced6ce0a2682f7]
Former-commit-id: b77e98e3db2abc7ad6a978641086b2c5641224fe
Former-commit-id: 98dbd6a7f0
This commit is contained in:
Zack Scholl 2016-06-29 20:07:01 -04:00
parent 5d97c4651a
commit f705f8ee87
2 changed files with 3 additions and 3 deletions

View File

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

View File

@ -119,7 +119,7 @@
<li class="dropdown-header">Options</li> <li class="dropdown-header">Options</li>
<li><a href="#" class="postencrypt">Encrypt</a></li> <li><a href="#" class="postencrypt">Encrypt</a></li>
<li><a href="#" class="postlock">Lock</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> <li><a href="#" id="{{ .Title }}" class="deleteable">Erase</a></li>
</ul> </ul>
</li> </li>