✨ feat: add helper to detect system preference
This commit is contained in:
12
src/modules/systemPreference/index.tsx
Normal file
12
src/modules/systemPreference/index.tsx
Normal file
@ -0,0 +1,12 @@
|
||||
import Elysia, { Context } from "elysia";
|
||||
import { returnWriteResponse } from "../../helpers/callback/httpResponse";
|
||||
|
||||
export const systemPreferenceModule = new Elysia({
|
||||
prefix: "/system-preference",
|
||||
}).get("/", (ctx: Context) => {
|
||||
return returnWriteResponse(
|
||||
ctx.set,
|
||||
200,
|
||||
"System Preference module is up and running",
|
||||
);
|
||||
});
|
||||
Reference in New Issue
Block a user