* deployer fix

* export path includes .zip extension
This commit is contained in:
Danyi Dávid 2017-10-01 11:57:49 +02:00
parent 2e6980e8c9
commit afa49a8400
2 changed files with 3 additions and 3 deletions

View File

@ -16,10 +16,10 @@ set('keep_releases', 3);
set('default_stage', 'production');
// Servers
server('alfheim', 'alfheim.ragnarok.yvan.hu')
host('alfheim.ragnarok.yvan.hu')
->stage('production')
->user('yvan')
->identityFile()
->forwardAgent()
->set('ng_target', 'production')
->set('ng_environment', 'prod')
->set('env_vars', 'NODE_ENV=production')

View File

@ -86,7 +86,7 @@ export class AlbumComponent implements OnInit {
}
public get exportUrl(): string {
return environment.apiUrl + `/export-album/${this.album.slug}`;
return environment.apiUrl + `/export-album/${this.album.slug}.zip`;
}
private imageUrl(image: Image): string {