修复自定义css、js无效的问题
This commit is contained in:
		
							parent
							
								
									e775aad5a4
								
							
						
					
					
						commit
						a447a0470b
					
				@ -26,6 +26,7 @@ func InitRouters(addr string) error {
 | 
			
		||||
		webPath := "./web"
 | 
			
		||||
		router.StaticFile("/", webPath+"/index.html")
 | 
			
		||||
		router.Static("/assets", webPath+"/assets")
 | 
			
		||||
		router.Static("/custom", webPath+"/custom")
 | 
			
		||||
		router.StaticFile("/favicon.ico", webPath+"/favicon.ico")
 | 
			
		||||
		router.StaticFile("/favicon.svg", webPath+"/favicon.svg")
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user