[Explore|Trunk]
- add compress in server - minimize graph image - updates in sitemap & robots - remove preload modules git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@61059 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
d979958d48
commit
06ed324ff7
|
@ -11,7 +11,8 @@ enableProdMode();
|
||||||
|
|
||||||
// Express server
|
// Express server
|
||||||
const app = express();
|
const app = express();
|
||||||
|
const compression = require('compression');
|
||||||
|
app.use(compression());
|
||||||
const PORT = process.env.PORT || 3000;
|
const PORT = process.env.PORT || 3000;
|
||||||
const DIST_FOLDER = join(process.cwd(), 'dist');
|
const DIST_FOLDER = join(process.cwd(), 'dist');
|
||||||
|
|
||||||
|
|
|
@ -117,7 +117,6 @@ const routes: Routes = [
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [RouterModule.forRoot(routes, {
|
imports: [RouterModule.forRoot(routes, {
|
||||||
preloadingStrategy: PreloadAllModules,
|
|
||||||
onSameUrlNavigation: "reload",
|
onSameUrlNavigation: "reload",
|
||||||
relativeLinkResolution: 'corrected'
|
relativeLinkResolution: 'corrected'
|
||||||
})],
|
})],
|
||||||
|
|
|
@ -35,9 +35,9 @@ import {SEOService} from "./openaireLibrary/sharedComponents/SEO/SEO.service";
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
<cookie-law *ngIf="isClient" position="bottom">
|
<cookie-law *ngIf="isClient" position="bottom">
|
||||||
OpenAIRE uses cookies in order to function properly.<br>
|
<span class="uk-visible@m">OpenAIRE uses cookies in order to function properly.<br>
|
||||||
Cookies are small pieces of data that websites store in your browser to allow us to give you the best browsing
|
Cookies are small pieces of data that websites store in your browser to allow us to give you the best browsing
|
||||||
experience possible.
|
experience possible.</span>
|
||||||
By using the OpenAIRE portal you accept our use of cookies. <a
|
By using the OpenAIRE portal you accept our use of cookies. <a
|
||||||
href="//ec.europa.eu/ipg/basics/legal/cookies/index_en.htm" target="_blank"> Read more <span class="uk-icon">
|
href="//ec.europa.eu/ipg/basics/legal/cookies/index_en.htm" target="_blank"> Read more <span class="uk-icon">
|
||||||
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="chevron-right"
|
<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="chevron-right"
|
||||||
|
|
|
@ -188,7 +188,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-flex uk-flex-bottom">
|
<div class="uk-flex uk-flex-bottom">
|
||||||
<div class="uk-width-1-3 uk-width-1-2@m">
|
<div class="uk-width-1-3 uk-width-1-2@m">
|
||||||
<img src="assets/explore-assets/graph.svg">
|
<img src="assets/explore-assets/graph.png">
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-padding uk-width-1-2">
|
<div class="uk-padding uk-width-1-2">
|
||||||
<img src="assets/common-assets/logo-large-graph.png">
|
<img src="assets/common-assets/logo-large-graph.png">
|
||||||
|
|
|
@ -10,7 +10,6 @@ import { DataProvidersServiceModule} from '../openaireLibrary/services/dataProvi
|
||||||
import { SearchResearchResultsServiceModule} from '../openaireLibrary/services/searchResearchResultsService.module';
|
import { SearchResearchResultsServiceModule} from '../openaireLibrary/services/searchResearchResultsService.module';
|
||||||
import { ProjectsServiceModule} from '../openaireLibrary/services/projectsService.module';
|
import { ProjectsServiceModule} from '../openaireLibrary/services/projectsService.module';
|
||||||
import { OrganizationsServiceModule} from '../openaireLibrary/services/organizationsService.module';
|
import { OrganizationsServiceModule} from '../openaireLibrary/services/organizationsService.module';
|
||||||
import { SearchFormModule} from '../openaireLibrary/searchPages/searchUtils/searchForm.module';
|
|
||||||
import { PiwikServiceModule} from '../openaireLibrary/utils/piwik/piwikService.module';
|
import { PiwikServiceModule} from '../openaireLibrary/utils/piwik/piwikService.module';
|
||||||
|
|
||||||
import {HelperModule} from '../openaireLibrary/utils/helper/helper.module';
|
import {HelperModule} from '../openaireLibrary/utils/helper/helper.module';
|
||||||
|
@ -19,7 +18,6 @@ import {RefineFieldResultsServiceModule} from '../openaireLibrary/services/refin
|
||||||
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
||||||
import { SEOServiceModule } from '../openaireLibrary/sharedComponents/SEO/SEOService.module';
|
import { SEOServiceModule } from '../openaireLibrary/sharedComponents/SEO/SEOService.module';
|
||||||
|
|
||||||
import {ErrorMessagesModule} from '../openaireLibrary/utils/errorMessages.module';
|
|
||||||
import {OtherPortalsModule} from "../openaireLibrary/sharedComponents/other-portals/other-portals.module";
|
import {OtherPortalsModule} from "../openaireLibrary/sharedComponents/other-portals/other-portals.module";
|
||||||
import {EntitiesSelectionModule} from "../openaireLibrary/searchPages/searchUtils/entitiesSelection.module";
|
import {EntitiesSelectionModule} from "../openaireLibrary/searchPages/searchUtils/entitiesSelection.module";
|
||||||
import {QuickSelectionsModule} from "../openaireLibrary/searchPages/searchUtils/quick-selections.module";
|
import {QuickSelectionsModule} from "../openaireLibrary/searchPages/searchUtils/quick-selections.module";
|
||||||
|
@ -34,11 +32,9 @@ import {NumbersModule} from "../openaireLibrary/sharedComponents/numbers/numbers
|
||||||
RefineFieldResultsServiceModule,
|
RefineFieldResultsServiceModule,
|
||||||
DataProvidersServiceModule, SearchResearchResultsServiceModule,
|
DataProvidersServiceModule, SearchResearchResultsServiceModule,
|
||||||
ProjectsServiceModule, OrganizationsServiceModule,
|
ProjectsServiceModule, OrganizationsServiceModule,
|
||||||
SearchFormModule,
|
|
||||||
PiwikServiceModule,
|
PiwikServiceModule,
|
||||||
HomeRoutingModule,
|
HomeRoutingModule,
|
||||||
HelperModule,
|
HelperModule,
|
||||||
ErrorMessagesModule,
|
|
||||||
SEOServiceModule, OtherPortalsModule, EntitiesSelectionModule, QuickSelectionsModule, IconsModule, NumbersModule
|
SEOServiceModule, OtherPortalsModule, EntitiesSelectionModule, QuickSelectionsModule, IconsModule, NumbersModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 75 KiB |
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 738 KiB |
|
@ -127,6 +127,5 @@ export let properties: EnvProperties = {
|
||||||
adminPortalURL: "https://beta.admin.connect.openaire.eu",
|
adminPortalURL: "https://beta.admin.connect.openaire.eu",
|
||||||
|
|
||||||
myOrcidLinksPage: "/my-orcid-links",
|
myOrcidLinksPage: "/my-orcid-links",
|
||||||
showOnlyPublicCommunities: true,
|
|
||||||
footerGrantText: "This service has received funding from EU grants No. 643410, No. 777541, No 101017452"
|
footerGrantText: "This service has received funding from EU grants No. 643410, No. 777541, No 101017452"
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,4 +1,2 @@
|
||||||
User-Agent: *
|
User-Agent: *
|
||||||
Disallow: /upload
|
Disallow: /upload
|
||||||
|
|
||||||
https://explore.openaire.eu/sitemap/otherSitemapIndex.xml
|
|
||||||
|
|
|
@ -6,15 +6,15 @@
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://explore.openaire.eu/search/find/?size=20</loc>
|
<loc>https://explore.openaire.eu/search/find</loc>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://explore.openaire.eu/search/find/research-outcomes?qf=true&size=20</loc>
|
<loc>https://explore.openaire.eu/search/find/research-outcomes</loc>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://explore.openaire.eu/search/find/projects?size=20</loc>
|
<loc>https://explore.openaire.eu/search/find/projects</loc>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
|
@ -54,20 +54,10 @@
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://explore.openaire.eu/search/find/research-outcomes?f0=q&fv0=&size=10&sortBy=&resultbestaccessright=%22Open%20Access%22&type=publications&qf=true&size=20</loc>
|
<loc>https://explore.openaire.eu/search/find/research-outcomes?resultbestaccessright=%22Open%2520Access%22</loc>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
<url>
|
||||||
<loc>https://explore.openaire.eu/search/find/research-outcomes?f0=q&fv0=&size=10&sortBy=&resultbestaccessright=%22Open%20Access%22&type=publications&qf=true&size=20</loc>
|
<loc>https://explore.openaire.eu/search/find/research-outcomes?relfunder=%22ec__________%253A%253AEC%257C%257CEuropean%2520Commission%257C%257CEC%22</loc>
|
||||||
</url>
|
</url>
|
||||||
|
|
||||||
<url>
|
|
||||||
<loc>https://explore.openaire.eu/search/find/research-outcomes?f0=q&fv0=&size=10&sortBy=&resultbestaccessright=%22Open%20Access%22&type=publications,datasets,%22software%22&qf=true&size=20</loc>
|
|
||||||
</url>
|
|
||||||
|
|
||||||
<url>
|
|
||||||
<loc>https://explore.openaire.eu/search/find/research-outcomes?f0=q&fv0=&size=10&sortBy=&resultbestaccessright=%22Open%20Access%22&type=publications,datasets,%22other%22&qf=true&size=20</loc>
|
|
||||||
</url>
|
|
||||||
|
|
||||||
|
|
||||||
</urlset>
|
</urlset>
|
||||||
|
|
Loading…
Reference in New Issue