fix: maybe fixed open tags
This commit is contained in:
@@ -90,8 +90,6 @@ async function createProductionRouter() {
|
||||
|
||||
const r = express.Router()
|
||||
|
||||
r.use('/', express.static('dist/entry-client'))
|
||||
|
||||
mountIndexHtmlRoutes(r, async (req, res) => {
|
||||
const transformedTemplate = await fs.readFile(path.resolve('./dist/entry-client/index.html'), 'utf-8')
|
||||
|
||||
@@ -116,6 +114,8 @@ async function createProductionRouter() {
|
||||
)
|
||||
})
|
||||
|
||||
r.use('/', express.static('dist/entry-client'))
|
||||
|
||||
return r
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user