forked from loafle/openapi-generator-original
Changed base path to use contextPath
This commit is contained in:
parent
4133cae2bc
commit
d3bc347e31
@ -12,7 +12,7 @@ module {{package}} {
|
||||
*/
|
||||
{{/description}}
|
||||
export class {{classname}} {
|
||||
private basePath = '{{basePath}}';
|
||||
private basePath = '{{contextPath}}';
|
||||
|
||||
static $inject: string[] = ['$http'];
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
*/
|
||||
{{/description}}
|
||||
export class {{classname}} {
|
||||
private basePath = '{{basePath}}';
|
||||
private basePath = '{{contextPath}}';
|
||||
|
||||
constructor(private url: string, private username: string, private password: string, basePath?: string) {
|
||||
if (basePath) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user