mirror of
https://github.com/versia-pub/server.git
synced 2026-03-13 22:09:16 +01:00
refactor: 🚨 Turn every linter rule on and fix issues (there were a LOT :3)
This commit is contained in:
parent
2e98859153
commit
a1e02d0d78
177 changed files with 1826 additions and 1248 deletions
|
|
@ -16,7 +16,7 @@ export const meta = applyConfig({
|
|||
});
|
||||
|
||||
export default (app: Hono) =>
|
||||
app.on(meta.allowedMethods, meta.route, async () => {
|
||||
app.on(meta.allowedMethods, meta.route, () => {
|
||||
return jsonResponse({
|
||||
version: "2.0",
|
||||
software: { name: "lysand", version: manifest.version },
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ export const meta = applyConfig({
|
|||
});
|
||||
|
||||
export default (app: Hono) =>
|
||||
app.on(meta.allowedMethods, meta.route, async () => {
|
||||
app.on(meta.allowedMethods, meta.route, () => {
|
||||
return redirect(
|
||||
new URL("/.well-known/nodeinfo/2.0", config.http.base_url),
|
||||
301,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue