create-vite-extra 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template-ssr-preact/server.js +1 -1
- package/template-ssr-preact-ts/server.js +1 -1
- package/template-ssr-react/server.js +1 -1
- package/template-ssr-react-ts/server.js +1 -1
- package/template-ssr-solid/server.js +1 -1
- package/template-ssr-solid-ts/server.js +1 -1
- package/template-ssr-svelte/server.js +1 -1
- package/template-ssr-svelte-ts/server.js +1 -1
- package/template-ssr-vanilla/server.js +1 -1
- package/template-ssr-vanilla-ts/server.js +1 -1
- package/template-ssr-vue/server.js +1 -1
- package/template-ssr-vue-ts/server.js +1 -1
package/package.json
CHANGED
|
@@ -57,7 +57,7 @@ app.use('*', async (req, res) => {
|
|
|
57
57
|
.replace(`<!--app-head-->`, rendered.head ?? '')
|
|
58
58
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
59
59
|
|
|
60
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
60
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
61
61
|
} catch (e) {
|
|
62
62
|
vite?.ssrFixStacktrace(e)
|
|
63
63
|
console.log(e.stack)
|
|
@@ -57,7 +57,7 @@ app.use('*', async (req, res) => {
|
|
|
57
57
|
.replace(`<!--app-head-->`, rendered.head ?? '')
|
|
58
58
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
59
59
|
|
|
60
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
60
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
61
61
|
} catch (e) {
|
|
62
62
|
vite?.ssrFixStacktrace(e)
|
|
63
63
|
console.log(e.stack)
|
|
@@ -57,7 +57,7 @@ app.use('*', async (req, res) => {
|
|
|
57
57
|
.replace(`<!--app-head-->`, rendered.head ?? '')
|
|
58
58
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
59
59
|
|
|
60
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
60
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
61
61
|
} catch (e) {
|
|
62
62
|
vite?.ssrFixStacktrace(e)
|
|
63
63
|
console.log(e.stack)
|
|
@@ -57,7 +57,7 @@ app.use('*', async (req, res) => {
|
|
|
57
57
|
.replace(`<!--app-head-->`, rendered.head ?? '')
|
|
58
58
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
59
59
|
|
|
60
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
60
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
61
61
|
} catch (e) {
|
|
62
62
|
vite?.ssrFixStacktrace(e)
|
|
63
63
|
console.log(e.stack)
|
|
@@ -60,7 +60,7 @@ app.use('*', async (req, res) => {
|
|
|
60
60
|
.replace(`<!--app-head-->`, head)
|
|
61
61
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
62
62
|
|
|
63
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
63
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
64
64
|
} catch (e) {
|
|
65
65
|
vite?.ssrFixStacktrace(e)
|
|
66
66
|
console.log(e.stack)
|
|
@@ -60,7 +60,7 @@ app.use('*', async (req, res) => {
|
|
|
60
60
|
.replace(`<!--app-head-->`, head)
|
|
61
61
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
62
62
|
|
|
63
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
63
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
64
64
|
} catch (e) {
|
|
65
65
|
vite?.ssrFixStacktrace(e)
|
|
66
66
|
console.log(e.stack)
|
|
@@ -57,7 +57,7 @@ app.use('*', async (req, res) => {
|
|
|
57
57
|
.replace(`<!--app-head-->`, rendered.head ?? '')
|
|
58
58
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
59
59
|
|
|
60
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
60
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
61
61
|
} catch (e) {
|
|
62
62
|
vite?.ssrFixStacktrace(e)
|
|
63
63
|
console.log(e.stack)
|
|
@@ -57,7 +57,7 @@ app.use('*', async (req, res) => {
|
|
|
57
57
|
.replace(`<!--app-head-->`, rendered.head ?? '')
|
|
58
58
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
59
59
|
|
|
60
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
60
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
61
61
|
} catch (e) {
|
|
62
62
|
vite?.ssrFixStacktrace(e)
|
|
63
63
|
console.log(e.stack)
|
|
@@ -57,7 +57,7 @@ app.use('*', async (req, res) => {
|
|
|
57
57
|
.replace(`<!--app-head-->`, rendered.head ?? '')
|
|
58
58
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
59
59
|
|
|
60
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
60
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
61
61
|
} catch (e) {
|
|
62
62
|
vite?.ssrFixStacktrace(e)
|
|
63
63
|
console.log(e.stack)
|
|
@@ -57,7 +57,7 @@ app.use('*', async (req, res) => {
|
|
|
57
57
|
.replace(`<!--app-head-->`, rendered.head ?? '')
|
|
58
58
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
59
59
|
|
|
60
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
60
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
61
61
|
} catch (e) {
|
|
62
62
|
vite?.ssrFixStacktrace(e)
|
|
63
63
|
console.log(e.stack)
|
|
@@ -57,7 +57,7 @@ app.use('*', async (req, res) => {
|
|
|
57
57
|
.replace(`<!--app-head-->`, rendered.head ?? '')
|
|
58
58
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
59
59
|
|
|
60
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
60
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
61
61
|
} catch (e) {
|
|
62
62
|
vite?.ssrFixStacktrace(e)
|
|
63
63
|
console.log(e.stack)
|
|
@@ -57,7 +57,7 @@ app.use('*', async (req, res) => {
|
|
|
57
57
|
.replace(`<!--app-head-->`, rendered.head ?? '')
|
|
58
58
|
.replace(`<!--app-html-->`, rendered.html ?? '')
|
|
59
59
|
|
|
60
|
-
res.status(200).set({ 'Content-Type': 'text/html' }).
|
|
60
|
+
res.status(200).set({ 'Content-Type': 'text/html' }).send(html)
|
|
61
61
|
} catch (e) {
|
|
62
62
|
vite?.ssrFixStacktrace(e)
|
|
63
63
|
console.log(e.stack)
|