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

19 lines
553 B
JavaScript

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