From 1fdae1c83980fa513975275f0c642b833789bdd8 Mon Sep 17 00:00:00 2001 From: Vikas Date: Sun, 2 Jun 2024 22:50:44 +0530 Subject: [PATCH] Change some default configs --- config/config.go | 4 ++-- readme.md | 6 ++---- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/config/config.go b/config/config.go index ed7d686..05ad3c1 100644 --- a/config/config.go +++ b/config/config.go @@ -1,8 +1,8 @@ package config var ( - ServerAddr = ":8080" + ServerAddr = ":8008" AppName = "PastePass" - DBPath = "pastes.boltdb" + DBPath = "pastepass.boltdb" ResetDB = false ) diff --git a/readme.md b/readme.md index 71f5b66..e553b11 100644 --- a/readme.md +++ b/readme.md @@ -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 -