opt-cc/api/config/api-url.js

22 lines
657 B
JavaScript

const rootRoute = '/api';
module.exports = {
account: rootRoute + '/account',
auth: rootRoute + '/authenticate',
awards: rootRoute + '/awardings',
campaigns: rootRoute + '/campaigns',
cmdCreateSig: rootRoute + '/cmd/createSignature',
command: rootRoute + '/cmd',
decorations: rootRoute + '/decorations',
logs: rootRoute + '/logs',
overview: rootRoute + '/overview',
players: rootRoute + '/players',
ranks: rootRoute + '/ranks',
request: rootRoute + '/request',
signatures: '/signatures',
signUp: rootRoute + '/authenticate/signup',
squads: rootRoute + '/squads',
users: rootRoute + '/users',
wars: rootRoute + '/wars',
};