mirror of
https://github.com/modrinth/code.git
synced 2026-09-02 13:05:50 +00:00
Initial monorepo setup
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { defineEventHandler, getQuery } from 'h3';
|
||||
|
||||
export default defineEventHandler((event) => {
|
||||
const q = getQuery(event);
|
||||
const projectName = q.name || 'World';
|
||||
|
||||
return {
|
||||
message: `Hello ${projectName}`,
|
||||
};
|
||||
});
|
||||
Reference in New Issue
Block a user