mirror of
				https://github.com/strapi/strapi.git
				synced 2025-11-04 11:54:10 +00:00 
			
		
		
		
	Grammar and punctuation of public-assets.md
Signed-off-by: Bart Duisters <bartduisters@bartduisters.com>
This commit is contained in:
		
							parent
							
								
									9fe015c5f8
								
							
						
					
					
						commit
						b12c965efc
					
				@ -1,6 +1,6 @@
 | 
				
			|||||||
# Public Assets
 | 
					# Public Assets
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Public assets are static files such as images, video, css, etc that you want to make accessible to the outside world. Every new project includes by default, a folder named `./public`.
 | 
					Public assets are static files such as images, video, css, etc. that you want to make accessible to the outside world. Every new project includes, by default, a folder named `./public`.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Because an API may need to serve static assets, every new Strapi project includes by default, a folder named `/public`. Any file located in this directory is accessible if the request's path doesn't match any other defined route and if it matches a public file name.
 | 
					Because an API may need to serve static assets, every new Strapi project includes by default, a folder named `/public`. Any file located in this directory is accessible if the request's path doesn't match any other defined route and if it matches a public file name.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -13,7 +13,7 @@ An image named `company-logo.png` in `./public/` is accessible through `/company
 | 
				
			|||||||
:::
 | 
					:::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
::: warning
 | 
					::: warning
 | 
				
			||||||
The dotfiles are not exposed. It means that every files with the names start by `.` such as `.htaccess` or `.gitignore` are not served.
 | 
					The dotfiles are not exposed. It means that every file where the names start with a `.`, such as `.htaccess` or `.gitignore`, are not served.
 | 
				
			||||||
:::
 | 
					:::
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Refer to the [public assets configurations](./configurations.md#Application) for more information.
 | 
					Refer to the [public assets configurations](./configurations.md#Application) for more information.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user