Commit 3b4c0e95 authored by nanahira's avatar nanahira

fix

parent d2d27f7c
Pipeline #19572 passed with stages
in 1 minute and 33 seconds
...@@ -8,6 +8,7 @@ import { TournamentComponent } from './tournament/tournament.component'; ...@@ -8,6 +8,7 @@ import { TournamentComponent } from './tournament/tournament.component';
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; import { NgbModule } from '@ng-bootstrap/ng-bootstrap';
import { ApiModule } from './api/api.module'; import { ApiModule } from './api/api.module';
import { environment } from 'src/environments/environment'; import { environment } from 'src/environments/environment';
import { HttpClientModule } from '@angular/common/http';
@NgModule({ @NgModule({
declarations: [AppComponent, ToastComponent, TournamentComponent], declarations: [AppComponent, ToastComponent, TournamentComponent],
...@@ -15,6 +16,7 @@ import { environment } from 'src/environments/environment'; ...@@ -15,6 +16,7 @@ import { environment } from 'src/environments/environment';
BrowserModule, BrowserModule,
AppRoutingModule, AppRoutingModule,
NgbModule, NgbModule,
HttpClientModule,
ApiModule.forRoot({ ApiModule.forRoot({
rootUrl: environment.production ? '' : 'http://localhost:3000', rootUrl: environment.production ? '' : 'http://localhost:3000',
}), }),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment