mirror of
https://github.com/tribufu/tribufu-js
synced 2026-06-01 09:42:36 +00:00
Improve api
- TribufuApi - TribufuBot - TribufuClient - TribufuServer
This commit is contained in:
parent
882e2a631b
commit
5047dada7c
12 changed files with 961 additions and 535 deletions
21
src/constants.js
Normal file
21
src/constants.js
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
a// Copyright (c) Tribufu. All Rights Reserved.
|
||||
|
||||
import packageJson from "../package.json";
|
||||
|
||||
/**
|
||||
* The version of the Tribufu SDK.
|
||||
* @type {string}
|
||||
*/
|
||||
export const TRIBUFU_VERSION = packageJson.version;
|
||||
|
||||
/**
|
||||
* The default Tribufu API URL.
|
||||
* @type {string}
|
||||
*/
|
||||
export const TRIBUFU_API_URL = "https://api.tribufu.com";
|
||||
|
||||
/**
|
||||
* The default Tribufu CDN URL.
|
||||
* @type {string}
|
||||
*/
|
||||
export const TRIBUFU_CDN_URL = "https://cdn.tribufu.com";
|
||||
Loading…
Add table
Add a link
Reference in a new issue