feat: add background image from png
This commit is contained in:
parent
a765ce7f74
commit
d28536a49f
@ -26,7 +26,7 @@ export async function handler(
|
|||||||
}
|
}
|
||||||
return await ctx.next();
|
return await ctx.next();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
console.error("Error", error);
|
||||||
|
|
||||||
if (error instanceof DomainError) {
|
if (error instanceof DomainError) {
|
||||||
return new Response(error.statusText, {
|
return new Response(error.statusText, {
|
||||||
|
@ -12,7 +12,7 @@ import { GiteaOauthUser } from "@lib/types.ts";
|
|||||||
import { BadRequestError } from "@lib/errors.ts";
|
import { BadRequestError } from "@lib/errors.ts";
|
||||||
|
|
||||||
export const handler: Handlers = {
|
export const handler: Handlers = {
|
||||||
async GET(request, ctx) {
|
async GET(request) {
|
||||||
if (!JWT_SECRET) {
|
if (!JWT_SECRET) {
|
||||||
throw new BadRequestError();
|
throw new BadRequestError();
|
||||||
}
|
}
|
||||||
|
File diff suppressed because one or more lines are too long
1
static/test.txt
Normal file
1
static/test.txt
Normal file
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user