Skip to content

Commit

Permalink
updated reference to createRouter into createServerRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
aminnairi committed Dec 2, 2023
1 parent 2eb7d26 commit 58e0eaa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/jorel.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./jorel/createRoutes";
export * from "./jorel/createClientRoutes";
export * from "./jorel/createRouter";
export * from "./jorel/createServerRouter";
export * from "./jorel/createServerRoute";
2 changes: 1 addition & 1 deletion template/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { routes } from "@template/shared";
import { getKryptonians } from "./routes/getKryptonians";
import { createExpressServer } from "./adapters/createExpressServer";

const router = Kryptonian.Jorel.createRouter({
const router = Kryptonian.Jorel.createServerRouter({
routes,
spaceships: {
getKryptonians
Expand Down

0 comments on commit 58e0eaa

Please sign in to comment.