Merge pull request #1196 from wing328/typescript_basepath

[TypeScript] Fix base path
This commit is contained in:
wing328
2015-09-07 21:57:23 +08:00
7 changed files with 19 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ module {{package}} {
*/
{{/description}}
export class {{classname}} {
private basePath = '{{contextPath}}';
private basePath = '{{basePath}}';
static $inject: string[] = ['$http'];

View File

@@ -95,7 +95,7 @@ class VoidAuth implements Authentication {
*/
{{/description}}
export class {{classname}} {
private basePath = '{{contextPath}}';
private basePath = '{{basePath}}';
public authentications = {
'default': <Authentication>new VoidAuth(),
{{#authMethods}}