mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
Disable minification for debugging
This commit is contained in:
parent
e67dc07473
commit
8939d17b8a
2
build.ts
2
build.ts
|
|
@ -23,7 +23,7 @@ await Bun.build({
|
|||
outdir: `${process.cwd()}/dist`,
|
||||
target: "bun",
|
||||
splitting: true,
|
||||
minify: true,
|
||||
minify: false,
|
||||
external: ["bullmq", "frontend"],
|
||||
}).then((output) => {
|
||||
if (!output.success) {
|
||||
|
|
|
|||
|
|
@ -37,6 +37,8 @@ export const schema = z.object({
|
|||
"update",
|
||||
"admin.sign_up",
|
||||
"admin.report",
|
||||
"chat",
|
||||
"pleroma:chat_mention",
|
||||
])
|
||||
.array()
|
||||
.optional(),
|
||||
|
|
@ -52,6 +54,8 @@ export const schema = z.object({
|
|||
"update",
|
||||
"admin.sign_up",
|
||||
"admin.report",
|
||||
"chat",
|
||||
"pleroma:chat_mention",
|
||||
])
|
||||
.array()
|
||||
.optional(),
|
||||
|
|
|
|||
|
|
@ -7,7 +7,6 @@ import {
|
|||
findManyStatuses,
|
||||
statusToAPI,
|
||||
} from "~database/entities/Status";
|
||||
import { db } from "~drizzle/db";
|
||||
|
||||
export const meta = applyConfig({
|
||||
allowedMethods: ["GET"],
|
||||
|
|
|
|||
Loading…
Reference in a new issue