[ci] format
This commit is contained in:
parent
f75b354715
commit
39a24f111d
1 changed files with 2 additions and 2 deletions
|
@ -130,10 +130,10 @@ import express from 'express';
|
||||||
import { handler as ssrHandler } from './dist/server/entry.mjs';
|
import { handler as ssrHandler } from './dist/server/entry.mjs';
|
||||||
|
|
||||||
const app = express();
|
const app = express();
|
||||||
app.use(express.static('dist/client/'))
|
app.use(express.static('dist/client/'));
|
||||||
app.use((req, res, next) => {
|
app.use((req, res, next) => {
|
||||||
const locals = {
|
const locals = {
|
||||||
title: 'New title'
|
title: 'New title',
|
||||||
};
|
};
|
||||||
|
|
||||||
ssrHandler(req, res, next, locals);
|
ssrHandler(req, res, next, locals);
|
||||||
|
|
Loading…
Add table
Reference in a new issue