diff --git a/src/app/_interceptors/http-config.interceptor.ts b/src/app/_interceptors/http-config.interceptor.ts index e03d0db..865b8f2 100644 --- a/src/app/_interceptors/http-config.interceptor.ts +++ b/src/app/_interceptors/http-config.interceptor.ts @@ -19,12 +19,6 @@ export class HttpConfigInterceptor implements HttpInterceptor { request = request.clone({headers: request.headers.set('Authorization', 'Bearer ' + token)}); } - // I think this is the default behavior - // if (!request.headers.has('Content-Type')) { - // request = request.clone({headers: request.headers.set('Content-Type', 'application/json')}); - // } - - // request = request.clone({headers: request.headers.set('Accept', 'application/json')}); return next.handle(request); } } diff --git a/src/environments/environment.ts b/src/environments/environment.ts index 71d3db1..ffe8aed 100644 --- a/src/environments/environment.ts +++ b/src/environments/environment.ts @@ -1,16 +1,3 @@ -import {NgxLoggerLevel} from 'ngx-logger'; - export const environment = { - production: false, - bloxbergChainId: 8996, - level: 1, - serverLogLevel: NgxLoggerLevel.OFF, - loggingUrl: 'http://localhost:8000', - cicMetaUrl: 'https://meta.dev.grassrootseconomics.net', - publicKeysUrl: 'http://localhost:8000/keys.asc', - cicCacheUrl: 'https://cache.dev.grassrootseconomics.net', - web3Provider: 'ws://localhost:63546', - cicUssdUrl: 'https://ussd.dev.grassrootseconomics.net', - registryAddress: '0xf374d7B507767101a4bf3bA2a6B99AC737A44f6d', - trustedDeclaratorAddress: '0xEb3907eCad74a0013c259D5874AE7f22DcBcC95C' + production: false };