We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a75edf3 + 768baf1 commit 2a34195Copy full SHA for 2a34195
1 file changed
Contentstack.Core/ContentstackClient.cs
@@ -118,10 +118,9 @@ public ContentstackClient(IOptions<ContentstackOptions> options)
118
this.LivePreviewConfig = new LivePreviewConfig()
119
{
120
Enable = false,
121
-
122
};
123
}
124
- if (this.LivePreviewConfig.Host == null)
+ if (this.LivePreviewConfig.Host == null && this.LivePreviewConfig.Enable)
125
126
if (this.LivePreviewConfig.ManagementToken != null)
127
0 commit comments