Skip to content

关于项目模板only-server的发布问题 #4155

Answered by ArgoZhang
8FAway asked this question in Q&A
Discussion options

You must be logged in to vote
#if DEBUG
#else
builder.Services.AddResponseCompression(options =>
{
    options.EnableForHttps = true;
});
#endif

增加上面这段话就可以了,模板已经更新了。你这个模板有点老

dotnet new install Bootstrap.Blazor.Templates::*

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@8FAway
Comment options

@ArgoZhang
Comment options

Answer selected by 8FAway
@8FAway
Comment options

@8FAway
Comment options

@ArgoZhang
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants