fix: fix.env.example
This commit is contained in:
16
src/index.ts
16
src/index.ts
@ -1,8 +1,8 @@
|
||||
import { Elysia } from "elysia";
|
||||
import { routes } from "./routes";
|
||||
|
||||
const app = new Elysia().use(routes).listen(process.env.PORT || 3000);
|
||||
|
||||
console.log(
|
||||
`🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`
|
||||
);
|
||||
import { Elysia } from "elysia";
|
||||
import { routes } from "./routes";
|
||||
|
||||
const app = new Elysia().use(routes).listen(process.env.PORT || 3000);
|
||||
|
||||
console.log(
|
||||
`🦊 Elysia is running at ${app.server?.hostname}:${app.server?.port}`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user