Skip to content

Commit

Permalink
fix: logging of console web url (#1455)
Browse files Browse the repository at this point in the history
Fixes #1453 

```sh
build/release/ftl dev examples/go --recreate
info: Starting FTL with 1 controller(s)
info:controller0: Web console available at: http://localhost:8892/
info: FTL startup command ⚡️
```
  • Loading branch information
wesbillman authored May 9, 2024
1 parent 41bd9d4 commit 52c608f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions backend/controller/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ func Start(ctx context.Context, config Config, runnerScaling scaling.RunnerScali
if err != nil {
return err
}
logger.Infof("Web console available at: %s", config.Bind)
}

// Bring up the DB connection and DAL.
Expand Down
1 change: 0 additions & 1 deletion frontend/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ func Server(ctx context.Context, timestamp time.Time, publicURL *url.URL, allowO
if err != nil {
return nil, err
}
logger.Infof("Web console available at: %s", publicURL.String())

if allowOrigin == nil {
return proxy, nil
Expand Down

0 comments on commit 52c608f

Please sign in to comment.