mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-16 17:49:09 +00:00
refactor(api): Abstract discord API base url to config.ts
Signed-off-by: Katalina Okano <git@kat.cafe>
This commit is contained in:
parent
31ea2e2183
commit
824fee0703
4 changed files with 14 additions and 6 deletions
|
@ -13,3 +13,5 @@ export const apiPublicURI = safeURI(env('API_PUBLIC_URI'));
|
|||
export const rootUsers = list(env('ROOT_USERS'));
|
||||
export const allowedCallbackHosts = list(env('ALLOWED_CALLBACK_HOSTS'));
|
||||
export const importSharedKey = env('BOT_IMPORT_TOKEN');
|
||||
|
||||
export const discordAPIBase = 'https://discordapp.com/api/v9';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue