mirror of
https://github.com/v1k45/pastepass.git
synced 2026-09-20 05:44:13 +00:00
Change some default configs
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
package config
|
||||
|
||||
var (
|
||||
ServerAddr = ":8080"
|
||||
ServerAddr = ":8008"
|
||||
AppName = "PastePass"
|
||||
DBPath = "pastes.boltdb"
|
||||
DBPath = "pastepass.boltdb"
|
||||
ResetDB = false
|
||||
)
|
||||
|
||||
@@ -15,7 +15,7 @@ Run with default options:
|
||||
./pastepass
|
||||
```
|
||||
|
||||
Open http://localhost:8080/ to access the web app. Use the `-h` option to find all options:
|
||||
Open http://localhost:8008/ to access the web app. Use the `-h` option to find all options:
|
||||
|
||||
```bash
|
||||
./pastepass -h
|
||||
@@ -31,7 +31,7 @@ Usage of ./pastepass:
|
||||
-reset-db
|
||||
Reset the database on startup
|
||||
-server-addr string
|
||||
The server address to listen on (default ":8080")
|
||||
The server address to listen on (default ":8008")
|
||||
```
|
||||
|
||||
### Motivation
|
||||
@@ -54,7 +54,5 @@ The server does not log any information about the pastes. The only information s
|
||||
### TODO
|
||||
|
||||
- [ ] Deployment instructions
|
||||
- [ ] Release binaries
|
||||
- [ ] Demo web app
|
||||
- [ ] Unit tests
|
||||
|
||||
|
||||
Reference in New Issue
Block a user