[Trunk]: update deploy script | update SEO service signature | update robots.txt to disallow claim urls

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@54749 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2019-02-11 15:10:42 +00:00
parent d599cc359c
commit e0b53ccfee
3 changed files with 7 additions and 2 deletions

View File

@ -31,8 +31,8 @@
# rm -rf ../src/app/openaireLibrary/.svn/;
# cd ..; npm run build:dynamic; cd deploy;
# rm -rf ../src ../node_modules ../.idea/ ../installOpenaireLib.sh;
# cd ..; rm -rf deploy;
# echo 'Now copy to the server!'
#echo 'remove this deploy folder'
##<-- to here
#Deploy instructions!

View File

@ -73,7 +73,6 @@ public subPub;public subData;public subProjects;public subOrg; public subDataPr;
this._meta.updateTag({content:description},"name='description'");
this._meta.updateTag({content:description},"property='og:description'");
this._meta.updateTag({content:title},"property='og:title'");
this.seoService.createLinkForCanonicalURL(false);
//this.fetchDataproviders = new FetchDataproviders(this._searchDataprovidersService);
@ -83,6 +82,7 @@ public subPub;public subData;public subProjects;public subOrg; public subDataPr;
this.route.data
.subscribe((data: { envSpecific: EnvProperties }) => {
this.properties = data.envSpecific;
this.seoService.createLinkForCanonicalURL(this.properties.baseLink+this._router.url, false);
if(this.properties!=null){
var url = this.properties.baseLink+this._router.url;
this._meta.updateTag({content:url},"property='og:url'");

View File

@ -1,6 +1,11 @@
User-Agent: *
Disallow: /cache
Disallow: /upload
Disallow: /participate/claim
Disallow: /participate/direct-claim
Disallow: /myclaims
Disallow: /claims
#Disallow: /