diff --git a/src/lib/routes.ts b/src/lib/routes.ts index 6f88b2a..fad2bba 100644 --- a/src/lib/routes.ts +++ b/src/lib/routes.ts @@ -45,9 +45,6 @@ const FUNCTIONS_ROUTES = { return `${supplyBaseLocation()}/repoIndex?user=${user}&repo=${repo}`; }, getRepoHtml: ({ user, repo, book, chapter }: getRepoHtmlType) => { - // todo: try to migrate just this one route - // - // base = "http://localhost:4321/api"; return `${supplyBaseLocation()}/getHtmlForChap?user=${user}&repo=${repo}&book=${book}&chapter=${chapter}`; }, getHtmlForTw: ({ user, repo, navSection }: getNonBibleRepoHtmlType) => { diff --git a/src/pages/api/getUsfmSrcDownload.ts b/src/pages/api/getUsfmSrcDownload.ts index f5f9c01..9b86657 100644 --- a/src/pages/api/getUsfmSrcDownload.ts +++ b/src/pages/api/getUsfmSrcDownload.ts @@ -3,7 +3,7 @@ import { bibleBookSortOrder } from "@lib/contants"; import type { IcfEnv } from "@customTypes/types"; import type { APIRoute } from "astro"; -export const GET: APIRoute = async (context) => { +export const POST: APIRoute = async (context) => { const runtime = context.locals.runtime; const env = runtime.env as IcfEnv; const { url } = context; diff --git a/stats.html b/stats.html index 1c85fde..b4978e4 100644 --- a/stats.html +++ b/stats.html @@ -4822,7 +4822,7 @@