Rename API endpoints in frontend and nginx.conf to match blockstream

This commit is contained in:
wiz
2020-07-06 00:15:16 +09:00
parent 50ccdc424d
commit 4aca806b70
5 changed files with 36 additions and 44 deletions

View File

@@ -4,7 +4,7 @@ import { OptimizedMempoolStats } from '../interfaces/node-api.interface';
import { Observable } from 'rxjs';
import { StateService } from './state.service';
const API_BASE_URL = '/api{network}/v1';
const API_BASE_URL = '{network}/api/v1';
@Injectable({
providedIn: 'root'