Skip to content

Commit

Permalink
feat: add cors
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki committed Feb 7, 2023
1 parent 86062c2 commit 78cc875
Show file tree
Hide file tree
Showing 8 changed files with 1,224 additions and 135 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
test/
lib/
node_modules/
node_modules/
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@kokkoro/web",
"version": "0.1.0",
"version": "0.1.1",
"description": "Create web serve for kokkoro.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -21,21 +21,23 @@
},
"homepage": "https://github.com/kokkorojs/web#readme",
"dependencies": {
"@koa/cors": "^4.0.0",
"@koa/router": "^12.0.0",
"jsonwebtoken": "^9.0.0",
"koa": "^2.14.1",
"koa-body": "^6.0.1",
"koa-router": "^10.1.1",
"koa-static": "^5.0.0",
"uuid": "^9.0.0"
},
"devDependencies": {
"@kokkoro/utils": "^0.6.0",
"@types/jsonwebtoken": "^9.0.1",
"@types/koa": "^2.13.5",
"@types/koa-router": "^7.4.4",
"@types/koa-static": "^4.0.2",
"@types/koa__cors": "^3.3.0",
"@types/koa__router": "^12.0.0",
"@types/uuid": "^9.0.0",
"kokkoro": "^2.0.0-alpha.1"
"kokkoro": "^2.0.0-alpha.3"
},
"files": [
"lib"
Expand Down
Loading

0 comments on commit 78cc875

Please sign in to comment.