mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
refactor: Implement @/* path aliases and move dotenv imports
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import "dotenv/config";
|
||||
{{#if (eq runtime "node")}}
|
||||
import { node } from "@elysiajs/node";
|
||||
{{/if}}
|
||||
import "dotenv/config";
|
||||
import { Elysia } from "elysia";
|
||||
import { cors } from "@elysiajs/cors";
|
||||
{{#if (eq api "trpc")}}
|
||||
@@ -69,4 +69,4 @@ const app = new Elysia()
|
||||
.get("/", () => "OK")
|
||||
.listen(3000, () => {
|
||||
console.log(`Server is running on http://localhost:3000`);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user