mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
11 lines
281 B
JavaScript
Executable File
11 lines
281 B
JavaScript
Executable File
import path from "path"
|
|
import createRoutesFromDirectory from "@utils/createRoutesFromDirectory"
|
|
|
|
export default async (router) => {
|
|
router = createRoutesFromDirectory("routes", path.resolve(__dirname, "routes"), router)
|
|
|
|
return {
|
|
path: "/",
|
|
router,
|
|
}
|
|
} |