diff --git a/src/app/home/home.component.ts b/src/app/home/home.component.ts index f452515..d338016 100644 --- a/src/app/home/home.component.ts +++ b/src/app/home/home.component.ts @@ -1,6 +1,7 @@ import {Component, Inject} from "@angular/core"; import {DOCUMENT} from "@angular/common"; import {Meta, Title} from "@angular/platform-browser"; +import {properties} from "../../environments/environment"; @Component({ selector: 'home', @@ -23,7 +24,7 @@ export class HomeComponent { ngOnInit() { // this.window.location.href = '...'; if (typeof document !== 'undefined') { - this.window.open('https://search.eosc-portal.eu/search/all?q=*', "_self"); + this.window.open('https://'+(properties.environment == "beta" ? "beta." : "")+'search.marketplace.eosc-portal.eu/search/all?q=*', "_self"); } } } diff --git a/src/app/openaireLibrary b/src/app/openaireLibrary index c547dfa..058d30f 160000 --- a/src/app/openaireLibrary +++ b/src/app/openaireLibrary @@ -1 +1 @@ -Subproject commit c547dfa9453b9a68befb41f447d8c410eb7aea2c +Subproject commit 058d30f4c1cddb8c5b5e967393aee09847ef2d83