env port
This commit is contained in:
parent
c6ed9af944
commit
28fa6b072c
@ -3,6 +3,7 @@ import index from "./index.html";
|
||||
import { getMatchInfo, listEvent } from "./utils";
|
||||
|
||||
const server = serve({
|
||||
port: process.env.PORT || 3000,
|
||||
routes: {
|
||||
// Serve index.html for all unmatched routes.
|
||||
"/*": index,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user