From 31be767ef18c720015831487b72f791f33b63246 Mon Sep 17 00:00:00 2001 From: Egor Aristov Date: Sun, 9 Feb 2025 10:47:25 +0300 Subject: [PATCH] small fixes --- frontend/wizard-vue/index.html | 2 +- frontend/wizard-vue/src/urlmaker/index.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/wizard-vue/index.html b/frontend/wizard-vue/index.html index 4249508..14eb09d 100644 --- a/frontend/wizard-vue/index.html +++ b/frontend/wizard-vue/index.html @@ -3,7 +3,7 @@ - Vite App + RSS Alchemy
diff --git a/frontend/wizard-vue/src/urlmaker/index.ts b/frontend/wizard-vue/src/urlmaker/index.ts index bc92e28..4477638 100644 --- a/frontend/wizard-vue/src/urlmaker/index.ts +++ b/frontend/wizard-vue/src/urlmaker/index.ts @@ -1,8 +1,8 @@ import type {Specs} from "@/urlmaker/specs.ts"; const apiBase = import.meta.env.VITE_API_BASE || document.location.origin; -const renderEndpoint = '/api/v1/render/'; -const screenshotEndpoint = `/api/v1/screenshot/`; +const renderEndpoint = '/api/v1/render/'; // trailing slash +const screenshotEndpoint = '/api/v1/screenshot'; // no trailing slash export async function decodeUrl(url: string): Promise { const splitUrl = url.split(renderEndpoint);