feat: add background image from png

This commit is contained in:
max_richter 2023-08-04 22:58:42 +02:00
parent a765ce7f74
commit d28536a49f
4 changed files with 4 additions and 3 deletions

View File

@ -26,7 +26,7 @@ export async function handler(
}
return await ctx.next();
} catch (error) {
console.error(error);
console.error("Error", error);
if (error instanceof DomainError) {
return new Response(error.statusText, {

View File

@ -12,7 +12,7 @@ import { GiteaOauthUser } from "@lib/types.ts";
import { BadRequestError } from "@lib/errors.ts";
export const handler: Handlers = {
async GET(request, ctx) {
async GET(request) {
if (!JWT_SECRET) {
throw new BadRequestError();
}

File diff suppressed because one or more lines are too long

1
static/test.txt Normal file

File diff suppressed because one or more lines are too long