diff --git a/docs/src/main/asciidoc/quickstart.adoc b/docs/src/main/asciidoc/quickstart.adoc index 80f29135..53abc745 100644 --- a/docs/src/main/asciidoc/quickstart.adoc +++ b/docs/src/main/asciidoc/quickstart.adoc @@ -7,7 +7,7 @@ $ mvn spring-boot:run The server is a Spring Boot application so you can run it from your IDE instead if you prefer (the main class is -`ConfigServerApplication`). Then try it out a client: +`ConfigServerApplication`). Then try out a client: ---- $ curl localhost:8888/foo/development diff --git a/docs/src/main/asciidoc/spring-cloud-config.adoc b/docs/src/main/asciidoc/spring-cloud-config.adoc index 80872148..a2aa81f9 100644 --- a/docs/src/main/asciidoc/spring-cloud-config.adoc +++ b/docs/src/main/asciidoc/spring-cloud-config.adoc @@ -118,9 +118,9 @@ If the repository is file-based, the server will create an `Environment` from `application.yml` (shared between all clients), and `foo.yml` (with `foo.yml` taking precedence). If the YAML files have documents inside them that point to Spring profiles, those are applied -with higher precendence (in order of the profiles listed), and if +with higher precedence (in order of the profiles listed), and if there are profile-specific YAML (or properties) files these are also -applied with higher precedence than the defaults. Higher precendence +applied with higher precedence than the defaults. Higher precedence translates to a `PropertySource` listed earlier in the `Environment`. (These are the same rules as apply in a standalone Spring Boot application.)