Skip to content
This repository has been archived by the owner on Jan 2, 2023. It is now read-only.

Commit

Permalink
blog api
Browse files Browse the repository at this point in the history
  • Loading branch information
akisblack committed Dec 27, 2022
1 parent d0f43f8 commit ec1135c
Show file tree
Hide file tree
Showing 19 changed files with 1,154 additions and 239 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
node_modules
config/config.yml
.env
src/main.js
dist
3 changes: 2 additions & 1 deletion config/config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ db:
app:
port: 6893
hcaptcha:
secret: yourhcaptchasecret
secret: "yourhcaptchasecret" # must be in quotes
sitekey: yourhcaptchasitekey
webhook: yourdiscordwebhookurl
state:
announcements: true
form: true
status: true
blog: true
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"dev": "tsx watch src/index.ts",
"build": "tsx scripts/build.ts",
"preview": "node src/main.js",
"preview": "node dist/index.js",
"preview:tsx": "tsx src/index.ts",
"format": "prettier --write .",
"check": "tsc --noEmit"
Expand Down Expand Up @@ -37,6 +37,8 @@
"@types/node": "^18.11.9",
"@types/request-ip": "^0.0.37",
"esbuild": "^0.16.6",
"esbuild-plugin-clean": "^1.0.1",
"esbuild-plugin-copy": "^2.0.1",
"prettier": "^2.7.1",
"tsx": "^3.12.1",
"typescript": "^4.9.3"
Expand Down
Loading

0 comments on commit ec1135c

Please sign in to comment.