Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgef committed Jan 5, 2024
1 parent 5baa4ce commit c5b58fc
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 31 deletions.
1 change: 1 addition & 0 deletions app.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ account_id = "bc2eda78f9c47c829244fe7e14d72e50"
route = "apiker-demo.volted.co/*"
workers_dev = false
compatibility_date = "2021-10-12"
node_compat = true
main = "./dist/shim.mjs"

[build]
Expand Down
117 changes: 91 additions & 26 deletions package-lock.json

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

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,12 @@
"html-webpack-plugin": "^5.3.2",
"jest": "^27.5.1",
"path-to-regexp": "^6.2.0",
"prettier": "^1.19.1",
"terser-webpack-plugin": "^5.3.1",
"typescript": "^4.6.3",
"webpack": "^5.72.0",
"webpack-cli": "^4.9.2",
"yaml": "^2.0.0",
"wrangler": "latest"
"wrangler": "latest",
"yaml": "^2.0.0"
},
"jest": {
"moduleFileExtensions": [
Expand Down
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ apiker.init({
limitRequestsPerMinute: 30
},
debug: true,
adminPanel: false,
adminPanel: true,
objectStateMapping: {
CounterUser: OBMT.SIGNEDIP,
RateLimit: OBMT.SIGNEDIP,
Logs: OBMT.SIGNEDIP,
Bans: OBMT.SIGNEDIP
Bans: "userId"
}
});

0 comments on commit c5b58fc

Please sign in to comment.