* deployer fix
* export path includes .zip extension
This commit is contained in:
parent
2e6980e8c9
commit
afa49a8400
@ -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')
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user