Improve the config.js related inconsistencies #1841
Closed
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.
Description
related to https://github.com/wso2-enterprise/choreo/issues/36393
This pull request updates documentation across multiple files to standardize the path used for referencing the
config.jsfile and clarify instructions regarding its usage. The changes ensure consistency and improve the accuracy of the documentation.Standardization of
config.jspath references:en/developer-docs/docs/develop-components/develop-web-applications/build-and-deploy-a-single-page-web-application.md: Updated the script tag to use./public/config.jsinstead of%PUBLIC_URL%/config.js.en/developer-docs/docs/develop-components/sharing-and-reusing/use-a-connection-in-your-web-application.md: Replaced/public/config.jswith./public/config.jsin two instances to ensure consistent path usage. [1] [2]Clarification of instructions regarding
config.js:en/developer-docs/docs/quick-start-guides/deploy-a-web-application-that-consumes-a-backend-service.md: Changed a tip to a note, emphasizing the mandatory usage of./public/config.jsfor referring to the configuration file.en/developer-docs/docs/tutorials/consume-an-api-hosted-in-choreo.md: Updated a tip to a note to clearly state the requirement to use./public/config.jsfor referencing the mounted configuration file.Type of change
Testing
Related issues