Skip to content

Commit

Permalink
fix(logs): add correct url to function logs (#6787)
Browse files Browse the repository at this point in the history
* fix(logs): add correct url to function logs

* chore(tool): linting and make it prettier

---------

Co-authored-by: Tyler Barnes <[email protected]>
  • Loading branch information
zmzlois and TylerBarnes authored Aug 13, 2024
1 parent e351d11 commit b3e6e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/deploy/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ const runDeploy = async ({
const deployUrl = results.deploy.deploy_ssl_url || results.deploy.deploy_url
const logsUrl = `${results.deploy.admin_url}/deploys/${results.deploy.id}`

let functionLogsUrl = `${results.deploy.admin_url}/functions`
let functionLogsUrl = `${results.deploy.admin_url}/logs/functions`

if (!deployToProduction) {
functionLogsUrl += `?scope=deploy:${deployId}`
Expand Down

2 comments on commit b3e6e5a

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,222
  • Package size: 313 MB
  • Number of ts-expect-error directives: 977

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

  • Dependency count: 1,222
  • Package size: 313 MB
  • Number of ts-expect-error directives: 977

Please sign in to comment.