From 77d0896991ae8cf015a64c0a8e9764fd0a7289aa Mon Sep 17 00:00:00 2001 From: Guilherme Werner Date: Mon, 22 Jan 2024 10:59:23 -0300 Subject: [PATCH] Add TRIBUFU_WEB_URL const --- src/constants.ts | 6 ++++++ src/index.ts | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/constants.ts b/src/constants.ts index 9fbcad6..9a585c1 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -12,6 +12,12 @@ export const TRIBUFU_VERSION = "0.1.2"; */ export const TRIBUFU_API_URL = "https://api.tribufu.com"; +/** + * The default Tribufu WEB URL. + * @type {string} + */ +export const TRIBUFU_WEB_URL = "https://www.tribufu.com"; + /** * The default Tribufu CDN URL. * @type {string} diff --git a/src/index.ts b/src/index.ts index 11877c6..46a98ab 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,15 +1,17 @@ // Copyright (c) Tribufu. All Rights Reserved. import { - TRIBUFU_VERSION, TRIBUFU_API_URL, - TRIBUFU_CDN_URL + TRIBUFU_CDN_URL, + TRIBUFU_VERSION, + TRIBUFU_WEB_URL, } from "./constants"; export { TRIBUFU_API_URL, TRIBUFU_CDN_URL, TRIBUFU_VERSION, + TRIBUFU_WEB_URL, }; import { TribufuApi } from "./api";