From 8ba509f0194480c427583b11356d635cc41712bb Mon Sep 17 00:00:00 2001 From: Bernd Hacker Date: Fri, 11 Jan 2019 10:25:50 +0100 Subject: [PATCH] remove environment import --- .../src/main/resources/typescript-rxjs/runtime.mustache | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache b/modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache index 99e7717ef8ee..7511efb01a08 100644 --- a/modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache +++ b/modules/openapi-generator/src/main/resources/typescript-rxjs/runtime.mustache @@ -3,9 +3,8 @@ import { Observable, of } from 'rxjs'; import { ajax, AjaxResponse } from 'rxjs/ajax'; import { map, concatMap } from 'rxjs/operators'; -import { environment as env } from '../environments'; -export const BASE_PATH = (env.api || '{{{basePath}}}').replace(/\/+$/, ''); +export const BASE_PATH = '{{{basePath}}}'.replace(/\/+$/, ''); /** * This is the base class for all generated API classes.