Skip to content
This repository has been archived by the owner on Apr 4, 2022. It is now read-only.

Commit

Permalink
Merge 66cea44 into e6b7570
Browse files Browse the repository at this point in the history
  • Loading branch information
tboeckmann committed Sep 28, 2019
2 parents e6b7570 + 66cea44 commit 9e4e9ae
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mailchain-web",
"version": "0.0.1",
"version": "0.0.2",
"scripts": {
"ng": "ng",
"start": "ng serve",
Expand Down
4 changes: 2 additions & 2 deletions src/app/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { Component } from '@angular/core';
import { version } from '../../package.json';
import { environment } from 'src/environments/environment';

@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
public version: string = version;
public version: string = environment.version;
public title = 'Mailchain Inbox';
}
6 changes: 5 additions & 1 deletion src/environments/environment.prod.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { version } from '../../package.json';

export const environment = {
production: true
production: true,
version: version,
};

const mailchainNodeBaseWebProtocol = "http"
Expand All @@ -9,6 +12,7 @@ const mailchainNodeBasePort = "8080"
export const applicationApiConfig = {
"webProtocols": ["http","https"],
"networks": [
"mainnet",
"ropsten",
"rinkeby",
"kovan",
Expand Down
5 changes: 4 additions & 1 deletion src/environments/environment.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import { version } from '../../package.json';

export const environment = {
production: false
production: false,
version: version,
};

const mailchainNodeBaseWebProtocol = "http"
Expand All @@ -10,6 +12,7 @@ const mailchainNodeBasePort = "8080"
export const applicationApiConfig = {
"webProtocols": ["http","https"],
"networks": [
"mainnet",
"ropsten",
"rinkeby",
"kovan",
Expand Down
1 change: 1 addition & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"declaration": false,
"module": "es2015",
"moduleResolution": "node",
"resolveJsonModule": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"importHelpers": true,
Expand Down

0 comments on commit 9e4e9ae

Please sign in to comment.