mirror of
https://github.com/FranP-code/create-better-t-stack.git
synced 2025-10-12 23:52:15 +00:00
use spaces instead of commas in flags
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
export const NAV_THEME = {
|
||||
light: {
|
||||
background: "hsl(0 0% 100%)", // background
|
||||
border: "hsl(240 5.9% 90%)", // border
|
||||
card: "hsl(0 0% 100%)", // card
|
||||
notification: "hsl(0 84.2% 60.2%)", // destructive
|
||||
primary: "hsl(240 5.9% 10%)", // primary
|
||||
text: "hsl(240 10% 3.9%)", // foreground
|
||||
background: "hsl(0 0% 100%)",
|
||||
border: "hsl(240 5.9% 90%)",
|
||||
card: "hsl(0 0% 100%)",
|
||||
notification: "hsl(0 84.2% 60.2%)",
|
||||
primary: "hsl(240 5.9% 10%)",
|
||||
text: "hsl(240 10% 3.9%)",
|
||||
},
|
||||
dark: {
|
||||
background: "hsl(240 10% 3.9%)", // background
|
||||
border: "hsl(240 3.7% 15.9%)", // border
|
||||
card: "hsl(240 10% 3.9%)", // card
|
||||
notification: "hsl(0 72% 51%)", // destructive
|
||||
primary: "hsl(0 0% 98%)", // primary
|
||||
text: "hsl(0 0% 98%)", // foreground
|
||||
background: "hsl(240 10% 3.9%)",
|
||||
border: "hsl(240 3.7% 15.9%)",
|
||||
card: "hsl(240 10% 3.9%)",
|
||||
notification: "hsl(0 72% 51%)",
|
||||
primary: "hsl(0 0% 98%)",
|
||||
text: "hsl(0 0% 98%)",
|
||||
},
|
||||
};
|
||||
|
||||
@@ -19,9 +19,8 @@ const app = new Elysia()
|
||||
const { request } = context;
|
||||
if (["POST", "GET"].includes(request.method)) {
|
||||
return auth.handler(request);
|
||||
} else {
|
||||
context.error(405);
|
||||
}
|
||||
context.error(405);
|
||||
})
|
||||
.all("/trpc/*", async (context) => {
|
||||
const res = await fetchRequestHandler({
|
||||
@@ -34,5 +33,5 @@ const app = new Elysia()
|
||||
})
|
||||
.get("/", () => "OK")
|
||||
.listen(3000, () => {
|
||||
console.log(`Server is running on http://localhost:3000`);
|
||||
console.log("Server is running on http://localhost:3000");
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user