aswi2021codebakers-gitlab/src/app/shared/api/endpoints/api-configuration.ts @ 9c85f0ec
1 |
/* tslint:disable */
|
---|---|
2 |
/* eslint-disable */
|
3 |
import { Injectable } from '@angular/core'; |
4 |
|
5 |
/**
|
6 |
* Global configuration
|
7 |
*/
|
8 |
@Injectable({ |
9 |
providedIn: 'root', |
10 |
})
|
11 |
export class ApiConfiguration { |
12 |
rootUrl: string = 'http://localhost:4200'; |
13 |
}
|
14 |
|
15 |
/**
|
16 |
* Parameters for `ApiModule.forRoot()`
|
17 |
*/
|
18 |
export interface ApiConfigurationParams { |
19 |
rootUrl?: string; |
20 |
}
|