Skip to content
Snippets Groups Projects
Commit 8fe8e941 authored by michael.minelli's avatar michael.minelli
Browse files

Add a clients shared config

parent 3cd4b0c0
Branches
Tags
No related merge requests found
class ClientsSharedConfig {
public apiURL: string;
public gitlab: {
apiURL: string
dojoAccount: { id: number; username: string; };
};
constructor() {
this.apiURL = process.env.API_URL || '';
this.gitlab = {
apiURL : process.env.GITLAB_API_URL || '',
dojoAccount: {
id : Number(process.env.GITLAB_DOJO_ACCOUNT_ID) || -1,
username: process.env.GITLAB_DOJO_ACCOUNT_USERNAME || ''
}
};
}
}
export default new ClientsSharedConfig();
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment