fix: use correct env variable in image resizing
This commit is contained in:
parent
764b434e0a
commit
1a6efd945f
@ -98,7 +98,7 @@ export const handler = async (
|
||||
_req: Request,
|
||||
_ctx: HandlerContext,
|
||||
): Promise<Response> => {
|
||||
const imageUrl = "http://192.168.178.56:3007/Recipes/images/" +
|
||||
const imageUrl = Deno.env.get("SILVERBULLET_SERVER") + "/Recipes/images/" +
|
||||
_ctx.params.image;
|
||||
|
||||
const url = new URL(_req.url);
|
||||
|
Loading…
x
Reference in New Issue
Block a user