mirror of
				https://github.com/nsnail/NetAdmin.git
				synced 2025-11-04 13:10:50 +08:00 
			
		
		
		
	fix: 🐛 tinymce editor css 加载路径错误 (#93)
This commit is contained in:
		@@ -38,7 +38,7 @@ public static class IApplicationBuilderExtensions
 | 
			
		||||
    private static async Task UseVueAdminAsync(HttpContext context, Func<Task> next)
 | 
			
		||||
    {
 | 
			
		||||
        if (!context.Request.Path.StartsWithSegments(new PathString("/api"))) {
 | 
			
		||||
            var path = context.Request.Path.Value;
 | 
			
		||||
            var path = context.Request.Path.Value?.Replace("-", "_");
 | 
			
		||||
            if (path == "/" || path?.Length == 0) {
 | 
			
		||||
                path = _INDEX_HTML_PATH;
 | 
			
		||||
            }
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@
 | 
			
		||||
            <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
 | 
			
		||||
        </None>
 | 
			
		||||
    </ItemGroup>
 | 
			
		||||
    <ItemGroup>
 | 
			
		||||
    <ItemGroup Condition="'$(Configuration)' != 'Debug'">
 | 
			
		||||
        <EmbeddedResource Include="../../../dist/frontend/admin/**/*" LinkBase="UI"/>
 | 
			
		||||
    </ItemGroup>
 | 
			
		||||
</Project>
 | 
			
		||||
		Reference in New Issue
	
	Block a user