mirror of
				https://gitea.invidious.io/iv-org/shard-kemal.git
				synced 2024-08-15 00:53:36 +00:00 
			
		
		
		
	Added static files section
This commit is contained in:
		
							parent
							
								
									83bbe7e19a
								
							
						
					
					
						commit
						72ca56ea91
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -95,6 +95,12 @@ Accessing the environment (query params, body, content_type, headers, status_cod | ||||||
|   end |   end | ||||||
| ``` | ``` | ||||||
| 
 | 
 | ||||||
|  | ## Static Files | ||||||
|  | 
 | ||||||
|  | Kemal has built-in support for serving your static files. You need to put your static files under your ```src/public``` directory. | ||||||
|  | 
 | ||||||
|  | E.g: A static file like ```src/public/index.html``` will be served with the matching route ```/index.html```. | ||||||
|  | 
 | ||||||
| ## Thanks | ## Thanks | ||||||
| 
 | 
 | ||||||
| Thanks to Manas for their awesome work on [Frank](https://github.com/manastech/frank). | Thanks to Manas for their awesome work on [Frank](https://github.com/manastech/frank). | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue