This commit is contained in:
Anders Böttcher
2026-05-13 10:56:45 +02:00
9 changed files with 49 additions and 38 deletions
-14
View File
@@ -1,14 +0,0 @@
[
{
"token": "-jB8pMdeKu",
"originalName": "liquidity-db.config.json",
"displayName": "DB",
"size": 5606,
"type": "config",
"uploadedAt": "2026-05-11T21:18:55.259Z",
"description": "Skibidi Ligma",
"group": "production",
"containerName": "liquidity-db",
"image": "postgres:16-alpine"
}
]
-10
View File
@@ -1,10 +0,0 @@
[
{
"id": "00c94c52-f312-4152-a6ee-e3ce0b23b5f8",
"username": "admin",
"passwordHash": "827c32b2234fc18911ec8579ad6863df63b8cc3835b1f3a3f04016dfcd46f22e609cc3c99d5e09959ff8f2787f4169206ad5a9ca83beec2e70c14f8cca110cc8",
"salt": "c2030b38b34b2810f715453350100729",
"role": "admin",
"createdAt": "2026-05-12T12:46:52.082Z"
}
]
+1 -2
View File
@@ -14,8 +14,7 @@ const securityHeaders = [
const nextConfig: NextConfig = {
output: "standalone",
serverExternalPackages: ["@libsql/client"],
experimental: {
serverExternalPackages: ["@libsql/client"], productionBrowserSourceMaps: false, experimental: {
serverActions: {
bodySizeLimit: "500mb",
},
+1 -1
View File
@@ -75,7 +75,7 @@ export async function proxy(request: NextRequest) {
if (token) {
try {
const { payload: p } = await jwtVerify(token, getSecretKey(), { algorithms: ['HS256'] })
payload = p
payload = p as { userId?: string; username?: string; role?: string }
} catch {
// expired or tampered — treat as unauthenticated
}