| 
					
				 | 
			
			
				@@ -96,7 +96,6 @@ namespace YiSha.Admin.Web 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             string resource = Path.Combine(env.ContentRootPath, "Resource"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             FileHelper.CreateDirectory(resource); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             app.UseStaticFiles(new StaticFileOptions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 OnPrepareResponse = GlobalContext.SetCacheControl 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -107,6 +106,20 @@ namespace YiSha.Admin.Web 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 FileProvider = new PhysicalFileProvider(resource), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 OnPrepareResponse = GlobalContext.SetCacheControl 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            string areas = Path.Combine(env.ContentRootPath, "Areas"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            FileHelper.CreateDirectory(areas); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            app.UseStaticFiles(new StaticFileOptions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                OnPrepareResponse = GlobalContext.SetCacheControl 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            app.UseStaticFiles(new StaticFileOptions 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                RequestPath = "/Areas", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                FileProvider = new PhysicalFileProvider(areas), 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                OnPrepareResponse = GlobalContext.SetCacheControl 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             app.UseSession(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             app.UseRouting(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             app.UseEndpoints(endpoints => 
			 |