Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: HTTP + graph routes#217

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
sejori wants to merge6 commits intomainfromgraph-ql-cntnd
Closed
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
fix: reactSSR example
  • Loading branch information
Sebastien Ringrose committedAug 27, 2024
commit1fb8db2b11dc977f006272bfaeb3dbcb57e2b20f
4 changes: 2 additions & 2 deletionsexample/reactSSR/router.ts
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
import {Router, logger, cacher } from "../../mod.ts"; //"https://deno.land/x/peko/mod.ts"
import {HttpRouter, logger, cacher } from "../../mod.ts"; //"https://deno.land/x/peko/mod.ts"
import { reactHandler } from "./handlers/react.handler.ts";
import { githubHandler } from "./handlers/github.handler.ts";
import { reqTime } from "./middleware/reqTime.middleware.ts";
Expand All@@ -7,7 +7,7 @@ import { parrotHandler } from "./handlers/parrot.handler.ts";
import About from "./src/pages/About.tsx";
import Home from "./src/pages/Home.tsx";

const router = newRouter();
const router = newHttpRouter();
router.use(logger(console.log));

// SSR, with cache because static page
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp