Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
migrates from router to endpoint (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonfriesen authored Jan 5, 2024
1 parent 0a1d9d9 commit 35102dc
Show file tree
Hide file tree
Showing 10 changed files with 802 additions and 5,826 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ A Qpoint adapter for proxying requests from the edge
## Usage

```ts
import Router from "@qpoint/router";
import Endpoint from "@qpoint/endpoint";
import proxy from "@qpoint/proxy";

export default new Router()
export default new Endpoint()
.use(proxy({ appUrl: "https://qpoint.io" }))
```

Expand Down
16 changes: 2 additions & 14 deletions examples/deno/deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/deno/import_map.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"imports": {
"$std/": "https://deno.land/[email protected]/",
"@qpoint/router": "https://esm.sh/@qpoint/router@0.2.1?bundle",
"@qpoint/endpoint": "https://esm.sh/@qpoint/endpoint@0.0.1?bundle",
"@qpoint/mask-urls": "https://esm.sh/@qpoint/[email protected]?bundle",
"@qpoint/rewrite-html": "https://esm.sh/@qpoint/[email protected]?bundle",
"@qpoint/proxy": "../../dist/index.js"
Expand Down
Loading

0 comments on commit 35102dc

Please sign in to comment.