Repository navigation
docs(runtime): fix the azion dev port and the function size limit - #2583
Open
bruno-andrade-azion wants to merge 1 commit into
Open
bruno-andrade-azion wants to merge 1 commit into
bruno-andrade-azion wants to merge 1 commit into
Conversation
The local development page and the Stripe webhooks guide showed port 3000; azion dev serves on 3333 by default. The Next.js page gave a 50 MB function limit with an unsourced gzipped-size rule; the limit is 20 MB through the API and 6 MB in Azion Console, as Functions limits states. Both changes apply to en and pt-br. Refs: MM-16235
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
azion devport: the local development page and the Stripe webhooks guide said the server runs on port 3000. The default is 3333, which is what the CLI reference, the Runtime quickstart, and the rest of the docs already say. The local development page now shows the output line the quickstart uses (Function running on port 0.0.0.0:3333, url: http://localhost:3333) and sends thecurltolocalhost:3333. The Stripe guide forwards events tolocalhost:3333/webhook.devtools.md). Every change is in en and pt-br.How to test
pnpm devand open these pages in en and pt-br:/en/documentation/platform/functions/local-development/, pt-br/pt-br/documentacao/plataforma/functions/local-development/): the output line and thecurluse 3333./en/documentation/guides/application-development/functions-and-runtime/stripe-webhooks-functions/): thestripe listen --forward-tocommand useslocalhost:3333/webhook./en/documentation/devtools/runtime/frameworks/nextjs-compatibility/): the note under the feature table gives 20 MB (API) and 6 MB (Console), and its link opens Functions limits.azion devin any function project. The server should print the port 3333 line shown on the page.localhost:3000appears only innode-polyfills/url.mdx, where it is a sample value inside the code, not the server port.URL changes and redirects
None.
Notes
prefix(/src,src/, orsrc/assets), theContent-Typeof an object download inbucket-actions, and the claim that a KV Store write is visible everywhere within 60 seconds.