From 69d2480f4da78f3eb823772494841bdff29b7c1a Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Fri, 7 Jun 2024 10:22:41 -0400 Subject: [PATCH] fix playground prod script --- playgrounds/demo/dist/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playgrounds/demo/dist/index.js b/playgrounds/demo/dist/index.js index 4aa70d0f1..ddf268b8c 100644 --- a/playgrounds/demo/dist/index.js +++ b/playgrounds/demo/dist/index.js @@ -1,11 +1,11 @@ import fs from 'node:fs'; import path from 'node:path'; import express from 'express'; -import { head, html } from './server/entry-server.js'; +import { head, body } from './server/entry-server.js'; const rendered = fs .readFileSync(path.resolve('./dist/client/index.html'), 'utf-8') - .replace(``, html) + .replace(``, body) .replace(``, head); express()