aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorBobby <[email protected]>2025-09-24 21:02:56 +0530
committerBobby <[email protected]>2025-09-24 21:02:56 +0530
commitc9e0fe763bf5521003719b3f174c473a978f523e (patch)
tree79fad5f05c95d00132ab363a942669fe85acd100 /main.go
parentfa084ee95be0a5ec7b4a91dffa87467179fe435f (diff)
downloadthunderbird-ai-compose-server-c9e0fe763bf5521003719b3f174c473a978f523e.tar.xz
thunderbird-ai-compose-server-c9e0fe763bf5521003719b3f174c473a978f523e.zip
setup support for authorization
Diffstat (limited to 'main.go')
-rw-r--r--main.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.go b/main.go
index aa5ae3c..937507a 100644
--- a/main.go
+++ b/main.go
@@ -18,5 +18,9 @@ func main() {
routers.Setup(app)
log.Printf("Starting server on port %d\n", config.Config.Port)
+ log.Println("Configure your Extension with the following details:")
+ log.Printf("Endpoint URL: http://localhost:%d\n", config.Config.Port)
+ log.Printf("Authorization Key: %s\n", config.Config.AuthorizationKey)
+ log.Println("Note: Keep the Authorization Key secure and do not share it publicly. The Authorization Key will change each time the server restarts. Use this to reset the key if needed.")
log.Fatal(app.Listen(":3000"))
}