mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-12-22 19:31:39 +03:00
Serve static folder and static code files before trying to run renderer.
This commit is contained in:
parent
7c90a2eb9a
commit
4a7279ff7f
@ -72,10 +72,9 @@ async function start(options) {
|
||||
|
||||
const app = connect()
|
||||
.use(timeMiddleware())
|
||||
.use(processRequest)
|
||||
.use(serveStaticCode)
|
||||
.use(serveGeneratedFiles)
|
||||
.use(serve);
|
||||
.use(serve)
|
||||
.use(processRequest);
|
||||
http.createServer(app).listen(port);
|
||||
/**
|
||||
* @param {http.IncomingMessage} request
|
||||
|
Loading…
Reference in New Issue
Block a user