constants: use new, new endpoint

This commit is contained in:
Ducko 2023-01-11 22:00:30 +00:00
parent c9a4662008
commit c2cd5449bd
1 changed files with 1 additions and 1 deletions

View File

@ -14,6 +14,6 @@ module.exports = {
APP_ID: [ 'com', 'squirrel', n, n ].join('.'),
APP_PROTOCOL: p,
API_ENDPOINT: settings.get('API_ENDPOINT') || (d + '/api'),
NEW_UPDATE_ENDPOINT: settings.get('NEW_UPDATE_ENDPOINT') || (d + '/api/updates/'),
NEW_UPDATE_ENDPOINT: settings.get('NEW_UPDATE_ENDPOINT') || 'https://updates.discord.com/',
UPDATE_ENDPOINT: settings.get('UPDATE_ENDPOINT') || (d + '/api')
};