摘要: builder.Services.AddSpaStaticFiles(op => op.RootPath = "ClientApp"); app.MapWhen(ctx => !ctx.Request.Path.StartsWithSegments("/api"), appBuilder => { 阅读全文