Skip to content

Conversation

ry
Copy link
Member

@ry ry commented Apr 13, 2025

No description provided.

@ry ry changed the title feat: DENO_SERVE_ADDRESS env var for overriding Deno.serve options feat(serve): env var DENO_SERVE_ADDRESS for configuring default listen address Apr 13, 2025
Copy link
Member

@littledivy littledivy left a comment

Choose a reason for hiding this comment

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

LGTM

@ry ry enabled auto-merge (squash) April 14, 2025 11:37
@ry ry merged commit 9c201ae into main Apr 14, 2025
17 checks passed
@ry ry deleted the deno_serve_address2 branch April 14, 2025 12:15
}
}

fn parse_serve_address(
Copy link
Member

Choose a reason for hiding this comment

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

This magic parsing doesn't work because it can't handle vsock. We should require that these are prefixed:

  • tcp:<addr>:<port>
  • unix:<path>
  • vsock:<cid>:<port>

Copy link
Member

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants