From afa49a8400075d495dbebfb58aaf29769e01a2d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danyi=20D=C3=A1vid?= Date: Sun, 1 Oct 2017 11:57:49 +0200 Subject: [PATCH] * deployer fix * export path includes .zip extension --- deploy.php | 4 ++-- src/app/gallery/album/album.component.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy.php b/deploy.php index 084daaa..4f3a0ea 100644 --- a/deploy.php +++ b/deploy.php @@ -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') diff --git a/src/app/gallery/album/album.component.ts b/src/app/gallery/album/album.component.ts index cbf1c74..aaf93a5 100644 --- a/src/app/gallery/album/album.component.ts +++ b/src/app/gallery/album/album.component.ts @@ -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 {