From 27a4d9bc7139df74c71602f0aa725d0f472cfe4f Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Wed, 7 Aug 2024 14:22:43 +0200 Subject: [PATCH] #820 - Update API URL --- src/constants/Links.ts | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/constants/Links.ts b/src/constants/Links.ts index 04d4007e..f3d715d1 100644 --- a/src/constants/Links.ts +++ b/src/constants/Links.ts @@ -14,19 +14,19 @@ export const DOCS_SUBMODULES = 'https://frontmatter.codes/docs/git-integration#g export const WEBSITE_LINKS = { root: 'https://frontmatter.codes', api: { - baseUrl: 'https://fontmatter-fncs.azurewebsites.net', + baseUrl: 'https://api.frontmatter.codes', endpoints: { ai: { - description: '/api/ai/description', - taxonomy: '/api/ai/taxonomy', - title: '/api/ai/title' + description: '/ai/description', + taxonomy: '/ai/taxonomy', + title: '/ai/title' }, chat: { - init: '/api/ai-init', - message: '/api/ai-chat', - feedback: '/api/ai-feedback' + init: '/ai-init', + message: '/ai-chat', + feedback: '/ai-feedback' }, - backers: '/api/v2/backers' + backers: '/v2/backers' } }, docs: {