routes for msoffice info, download and deleting files
This commit is contained in:
		
							parent
							
								
									3a7f300966
								
							
						
					
					
						commit
						883d874fa1
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -14,6 +14,9 @@ func RegisterRoutes() *http.ServeMux {
 | 
			
		|||
	mux.HandleFunc("/about", web.AboutWebHandler)
 | 
			
		||||
  mux.HandleFunc("/admin", web.AdminWebHandler)
 | 
			
		||||
	mux.HandleFunc("/files/{uuid}", web.FileViewWebHandler)
 | 
			
		||||
	mux.HandleFunc("/files/{uuid}/msoffice", web.FileViewMSOWebHandler)
 | 
			
		||||
	mux.HandleFunc("/files/{uuid}/download", web.FileViewDownloadWebHandler)
 | 
			
		||||
	mux.HandleFunc("/files/{uuid}/delete", web.FileViewDeleteWebHandler)
 | 
			
		||||
	mux.HandleFunc("POST /upload", web.IndexUploadHandler)
 | 
			
		||||
	mux.Handle("/assets/", http.FileServer(http.FS(web.Files)))
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue