Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change default port from 7878 to 7676, which is what the Fastly CLI defaults to #287

Merged
merged 1 commit into from
Jul 13, 2023

Conversation

JakeChampion
Copy link
Contributor

I think this would be viewed as a breaking change as we are changing the default behaviour of the CLI.
If that is the case, then this involves bumping from 0.6.0 to 0.7.0 when it comes to releasing this

Resolves #47

@JakeChampion JakeChampion requested a review from aturon July 12, 2023 22:47
Copy link
Contributor

@aturon aturon left a comment

Choose a reason for hiding this comment

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

Very much in favor!

@@ -49,7 +49,7 @@ built by `fastly compute build`. The Fastly CLI should put the blob at
viceroy bin/main.wasm
```

This will start a local server (by default at: `http://127.0.0.1:7878`), which can
This will start a local server (by default at: `http://127.0.0.1:7676`), which can
Copy link
Contributor

Choose a reason for hiding this comment

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

Just to confirm that yes the CLI uses port 7676 by default:
https://github.com/fastly/cli/blob/main/pkg/commands/compute/serve.go#L78

@JakeChampion JakeChampion merged commit c99a4a0 into main Jul 13, 2023
7 checks passed
@JakeChampion JakeChampion deleted the jake/port-default-align-with-fastly-cli branch July 13, 2023 11:43
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.

Align port defaults
3 participants