mirror of
				https://github.com/open-webui/open-webui
				synced 2025-06-26 18:26:48 +00:00 
			
		
		
		
	chore: format
This commit is contained in:
		
							parent
							
								
									45bd0f2a91
								
							
						
					
					
						commit
						771657266a
					
				@ -409,7 +409,7 @@ app.mount("/static", StaticFiles(directory=STATIC_DIR), name="static")
 | 
				
			|||||||
app.mount("/cache", StaticFiles(directory=CACHE_DIR), name="cache")
 | 
					app.mount("/cache", StaticFiles(directory=CACHE_DIR), name="cache")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if os.path.exists(FRONTEND_BUILD_DIR):
 | 
					if os.path.exists(FRONTEND_BUILD_DIR):
 | 
				
			||||||
    mimetypes.add_type('text/javascript', '.js')
 | 
					    mimetypes.add_type("text/javascript", ".js")
 | 
				
			||||||
    app.mount(
 | 
					    app.mount(
 | 
				
			||||||
        "/",
 | 
					        "/",
 | 
				
			||||||
        SPAStaticFiles(directory=FRONTEND_BUILD_DIR, html=True),
 | 
					        SPAStaticFiles(directory=FRONTEND_BUILD_DIR, html=True),
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user