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";
|
import { getMatchInfo, listEvent } from "./utils";
|
||||||
|
|
||||||
const server = serve({
|
const server = serve({
|
||||||
|
port: process.env.PORT || 3000,
|
||||||
routes: {
|
routes: {
|
||||||
// Serve index.html for all unmatched routes.
|
// Serve index.html for all unmatched routes.
|
||||||
"/*": index,
|
"/*": index,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user