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 {