We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4dbc30 + 7edb1d2 commit c57f16fCopy full SHA for c57f16f
code/core/src/builder-manager/index.ts
@@ -206,6 +206,7 @@ const starter: StarterFunction = async function* starterGeneratorFn({
206
router.use('/', ({ url }, res, next) => {
207
if (url && isRootPath.test(url)) {
208
res.statusCode = 200;
209
+ res.setHeader('Content-Type', 'text/html');
210
res.write(html);
211
res.end();
212
} else {
@@ -214,6 +215,7 @@ const starter: StarterFunction = async function* starterGeneratorFn({
214
215
});
216
router.use(`/index.html`, (req, res) => {
217
218
219
220
221
0 commit comments