diff --git a/.github/workflows/playground.yml b/.github/workflows/playground.yml deleted file mode 100644 index fb24b69..0000000 --- a/.github/workflows/playground.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Playground - -on: - push: - branches: [ master ] - pull_request: - branches: [ master ] - -permissions: - contents: write - -jobs: - build-and-deploy: - concurrency: ci-${{ github.ref }} - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 - with: - persist-credentials: false - - - name: Setup Node - uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f - with: - node-version: 24 - - - name: Install dependencies - run: npm install - - - name: Generating docs - run: npm run build:apidoc - - - name: Deploy - uses: JamesIves/github-pages-deploy-action@9d877eea73427180ae43cf98e8914934fe157a1a - with: - branch: gh-pages - folder: docs \ No newline at end of file diff --git a/fly.toml b/fly.toml deleted file mode 100644 index db24634..0000000 --- a/fly.toml +++ /dev/null @@ -1,39 +0,0 @@ -# fly.toml file generated for lust on 2023-04-18T12:01:37+07:00 - -app = "lust" -kill_signal = "SIGINT" -kill_timeout = 5 -processes = [] - -[env] - -[experimental] - auto_rollback = true - -[[services]] - autostart = true - autostop = false - http_checks = [] - internal_port = 3000 - processes = ["app"] - protocol = "tcp" - script_checks = [] - [services.concurrency] - hard_limit = 25 - soft_limit = 20 - type = "connections" - - [[services.ports]] - force_https = true - handlers = ["http"] - port = 80 - - [[services.ports]] - handlers = ["tls", "http"] - port = 443 - - [[services.tcp_checks]] - grace_period = "1s" - interval = "15s" - restart_limit = 0 - timeout = "2s" diff --git a/resources/project/images/bnnuy.png b/resources/project/images/bnnuy.png deleted file mode 100644 index 96a0184..0000000 Binary files a/resources/project/images/bnnuy.png and /dev/null differ diff --git a/resources/project/images/nun.png b/resources/project/images/nun.png new file mode 100644 index 0000000..54ff633 Binary files /dev/null and b/resources/project/images/nun.png differ diff --git a/src/utils/limit-options.ts b/src/utils/limit-options.ts deleted file mode 100644 index 5197e5c..0000000 --- a/src/utils/limit-options.ts +++ /dev/null @@ -1,17 +0,0 @@ -import rateLimit from "express-rate-limit"; -import slowDown from "express-slow-down"; - -const limiter = rateLimit({ - windowMs: 15 * 60 * 1000, - max: 50, - message: "Too nasty, please slow down" -}); - -const slow = slowDown({ - delayAfter: 50, - windowMs: 15 * 60 * 1000, - delayMs: () => 1000, - maxDelayMs: 20000, -}); - -export { limiter, slow }; \ No newline at end of file diff --git a/src/utils/logger.ts b/src/utils/logger.ts deleted file mode 100644 index 99cef2d..0000000 --- a/src/utils/logger.ts +++ /dev/null @@ -1,8 +0,0 @@ -import pino from "pino"; - -export const logger = pino({ - level: "info", - transport: { - target: "pino-pretty" - }, -}); \ No newline at end of file