We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6552828 commit d0fa379Copy full SHA for d0fa379
src/registry/routes/component-preview.ts
@@ -28,7 +28,7 @@ function componentPreview(
28
const isHtmlRequest =
29
!!req.headers.accept && req.headers.accept.indexOf('text/html') >= 0;
30
31
- if (isHtmlRequest && !!res.conf.discovery) {
+ if (isHtmlRequest) {
32
res.send(
33
previewView({
34
component,
0 commit comments