github.com/muhammedhassanm/blockchain@v0.0.0-20200120143007-697261defd4d/Decentralized-Energy-Composer-master/angular-app/src/app/configuration.ts (about)

     1  import { Injectable } from '@angular/core';
     2  
     3  @Injectable()
     4  
     5  //provides configurate to composer rest server
     6  export class Configuration {
     7      public ApiIP: string = "http://localhost";
     8      public ApiPort: string = "3000";
     9      public Server: string = this.ApiIP+":"+this.ApiPort;
    10      public ApiUrl: string = "/api/";
    11      public ServerWithApiUrl = this.Server + this.ApiUrl;
    12  }