Add /music and /dev

This commit is contained in:
2025-02-07 22:33:06 +09:00
parent 09cde65e6b
commit 7c5c4bf17e
13 changed files with 482 additions and 207 deletions

View File

@@ -3,8 +3,8 @@ import { RateLimiter } from "sveltekit-rate-limiter/server";
import { dev } from "$app/environment";
import { MISSKEY_API_KEY } from "$env/static/private";
import type { InviteListResponse } from "misskey-js/entities.js";
import { sample } from "$lib";
import type { InviteListResponse } from "misskey-js/entities.js";
const limiter = new RateLimiter({
IP: [10, "d"], // IP address limiter