1
0
mirror of https://github.com/actix/actix-website synced 2025-02-17 10:13:31 +01:00

Merge pull request #40 from yerke/patch-1

fix small typos in application.md
This commit is contained in:
Nikolay Kim 2018-08-05 10:05:13 -07:00 committed by GitHub
commit 85156dc3ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,7 +14,7 @@ All actix web servers are built around the `App` instance. It is used for
registering routes for resources and middlewares. It also stores application registering routes for resources and middlewares. It also stores application
state shared across all handlers within same application. state shared across all handlers within same application.
Applications act as a namespace for all routes, i.e all routes for a specific application Applications act as a namespace for all routes, i.e. all routes for a specific application
have the same url path prefix. The application prefix always contains a leading "/" slash. have the same url path prefix. The application prefix always contains a leading "/" slash.
If a supplied prefix does not contain leading slash, it is automatically inserted. If a supplied prefix does not contain leading slash, it is automatically inserted.
The prefix should consist of value path segments. The prefix should consist of value path segments.