From 7cbfb09ceb770bf2fad0f213de582e028d6ac580 Mon Sep 17 00:00:00 2001 From: "argiro.kokogiannaki" Date: Fri, 5 Mar 2021 12:07:33 +0000 Subject: [PATCH] [Explore|Trunk] update OpenSearchDescriptor file, to be served correctly git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@60594 d315682c-612b-4755-9ff5-7f18f6832af3 --- explore/angular.json | 4 ++-- .../src/{OpenSearchDescriptor => OpenSearchDescriptor.xml} | 0 explore/src/environments/environment.beta.ts | 2 +- explore/src/environments/environment.prod.ts | 2 +- explore/src/environments/environment.test.ts | 2 +- explore/src/environments/environment.ts | 7 ++++--- explore/src/index.beta.html | 2 +- explore/src/index.html | 2 +- explore/src/index.prod.html | 2 +- explore/src/robots.prod.txt | 3 +-- 10 files changed, 13 insertions(+), 13 deletions(-) rename explore/src/{OpenSearchDescriptor => OpenSearchDescriptor.xml} (100%) diff --git a/explore/angular.json b/explore/angular.json index bce9196c..49b10b4b 100644 --- a/explore/angular.json +++ b/explore/angular.json @@ -19,7 +19,7 @@ "assets": [ "src/assets", "src/robots.txt", - "src/OpenSearchDescriptor", + "src/OpenSearchDescriptor.xml", { "glob": "**/*", "input": "src/sitemaps", @@ -168,7 +168,7 @@ "assets": [ "src/assets", "src/robots.txt", - "src/OpenSearchDescriptor", + "src/OpenSearchDescriptor.xml", { "glob": "**/*", "input": "src/sitemaps", diff --git a/explore/src/OpenSearchDescriptor b/explore/src/OpenSearchDescriptor.xml similarity index 100% rename from explore/src/OpenSearchDescriptor rename to explore/src/OpenSearchDescriptor.xml diff --git a/explore/src/environments/environment.beta.ts b/explore/src/environments/environment.beta.ts index 2c97f7d2..b1402aae 100644 --- a/explore/src/environments/environment.beta.ts +++ b/explore/src/environments/environment.beta.ts @@ -73,7 +73,7 @@ export let properties: EnvProperties = { pagingLimit: 20, resultsPerPage: 10, - "baseLink" : "/", + "baseLink" : "", "domain":"https://beta.explore.openaire.eu", searchLinkToResult: "/search/result?id=", diff --git a/explore/src/environments/environment.prod.ts b/explore/src/environments/environment.prod.ts index 78cf6fc1..68d78161 100644 --- a/explore/src/environments/environment.prod.ts +++ b/explore/src/environments/environment.prod.ts @@ -74,7 +74,7 @@ export let properties: EnvProperties = { pagingLimit: 20, resultsPerPage: 10, - "baseLink" : "/", + "baseLink" : "", "domain": "https://explore.openaire.eu", searchLinkToResult: "/search/result?id=", diff --git a/explore/src/environments/environment.test.ts b/explore/src/environments/environment.test.ts index 7d80b4a3..2c670a5c 100644 --- a/explore/src/environments/environment.test.ts +++ b/explore/src/environments/environment.test.ts @@ -73,7 +73,7 @@ export let properties: EnvProperties = { pagingLimit: 20, resultsPerPage: 10, - "baseLink" : "/", + "baseLink" : "", "domain": "https://test.explore.openaire.eu", searchLinkToResult: "/search/result?id=", diff --git a/explore/src/environments/environment.ts b/explore/src/environments/environment.ts index 5048bae5..72883a2d 100644 --- a/explore/src/environments/environment.ts +++ b/explore/src/environments/environment.ts @@ -9,9 +9,9 @@ export let properties: EnvProperties = { environment: "development", adminToolsPortalType: "explore", dashboard: "explore", - enablePiwikTrack: false, - useCache: true, - useLongCache: true, + enablePiwikTrack: true, + useCache: false, + useLongCache: false, showAddThis: true, metricsAPIURL: "https://beta.services.openaire.eu/usagestats/", framesAPIURL: "https://beta.openaire.eu/stats3/", @@ -19,6 +19,7 @@ export let properties: EnvProperties = { statisticsFrameAPIURL: "https://beta.openaire.eu/stats/", statisticsFrameNewAPIURL: "https://stats.madgik.di.uoa.gr/stats-api/", useNewStatistisTool: true, + // claimsAPIURL: "http://scoobydoo.di.uoa.gr:8080/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/", claimsAPIURL: "http://dl170.madgik.di.uoa.gr:8180/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/", searchAPIURLLAst: "http://beta.services.openaire.eu/search/v2/api/", searchResourcesAPIURL: "https://beta.services.openaire.eu/search/v2/api/resources", diff --git a/explore/src/index.beta.html b/explore/src/index.beta.html index 5a792a2e..ed23db7a 100644 --- a/explore/src/index.beta.html +++ b/explore/src/index.beta.html @@ -4,7 +4,7 @@ + href="./OpenSearchDescriptor.xml"> diff --git a/explore/src/index.html b/explore/src/index.html index 5a792a2e..ed23db7a 100644 --- a/explore/src/index.html +++ b/explore/src/index.html @@ -4,7 +4,7 @@ + href="./OpenSearchDescriptor.xml"> diff --git a/explore/src/index.prod.html b/explore/src/index.prod.html index a69998bc..63111496 100644 --- a/explore/src/index.prod.html +++ b/explore/src/index.prod.html @@ -4,7 +4,7 @@ + href="./OpenSearchDescriptor.xml"> diff --git a/explore/src/robots.prod.txt b/explore/src/robots.prod.txt index ca9f278e..b4e851f6 100644 --- a/explore/src/robots.prod.txt +++ b/explore/src/robots.prod.txt @@ -1,5 +1,4 @@ User-Agent: * Disallow: /upload -Crawl-delay: 30 -Sitemap: https://explore.openaire.eu/sitemap.xml +https://explore.openaire.eu/sitemap/otherSitemapIndex.xml