@gdkmd/http
v1.0.6
Published
Sử dụng cho gdk
Downloads
1
Readme
##HƯỚNG DẪN SỬ DỤNG #Ví dụ: app.module.ts
import {GdkHttpClientConfigModule} from '@gdkmd/http';
const appConfig: GdkConfigUrl = {
urlBaseServer: 'URLAPI'
urlLogin: '/auth/login',
urlHome: '/'
}
@NgModule({
declarations: [
AppComponent,
],
imports: [
.....................
GdkHttpClientConfigModule.forRoot(appConfig)
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }