diff options
| author | Bobby <[email protected]> | 2025-09-24 21:02:56 +0530 |
|---|---|---|
| committer | Bobby <[email protected]> | 2025-09-24 21:02:56 +0530 |
| commit | c9e0fe763bf5521003719b3f174c473a978f523e (patch) | |
| tree | 79fad5f05c95d00132ab363a942669fe85acd100 /main.go | |
| parent | fa084ee95be0a5ec7b4a91dffa87467179fe435f (diff) | |
| download | thunderbird-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.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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")) } |
