diff --git a/README.md b/README.md index fe085df5c6d2956547d5dc6f09ff71539bd653a0..c80cb811adf8aeda4a09f3c7657d2c29a79c521b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ - **BASE_URL** - Url, na kterĂ© staticky generovanĂ˝ web poběžà (defaultnÄ› https://www.piratipracuji.cz). PoÄŤĂtá se s tĂm, Ĺľe web poběžà v rootu domĂ©ny (subdomĂ©ny). -- **API_URL** - Url API s daty (defaultnÄ› https://redmineapi.mfnet.cz/). Je nutnĂ˝ trailing slash. +- **API_URL** - Url API s daty (defaultnÄ› https://www.piratipracuji.cz/api/). Je nutnĂ˝ trailing slash. #### Dalšà konfigurace diff --git a/src-front/components/posts/Posts.vue b/src-front/components/posts/Posts.vue index 7cc31208b1efa5035cfd780ae09727f3152b5ac5..951adf6bd2870b93e04fa0a63778dfe896488d07 100755 --- a/src-front/components/posts/Posts.vue +++ b/src-front/components/posts/Posts.vue @@ -57,7 +57,7 @@ export default { meta: [ { hid: 'og:title', property: 'og:title', content: this.posts.items[0].title }, { hid: 'og:image', property: 'og:image', content: this.posts.items[0].thumbnail }, - { hid: 'og:url', property: 'og:url', content: 'https://piratipracuji.mfnet.cz'+this.$nuxt.$route.path }, + { hid: 'og:url', property: 'og:url', content: 'https://www.piratipracuji.cz'+this.$nuxt.$route.path }, ], }; }, diff --git a/src-front/nuxt.config.js b/src-front/nuxt.config.js index 50dc1bfa89ccfd5d40e71964793cf38c663abdcc..6d1e7de8fc96bd4392d7373969bdcc052cde76af 100755 --- a/src-front/nuxt.config.js +++ b/src-front/nuxt.config.js @@ -5,7 +5,7 @@ const appConfig = { description: 'PĹ™ehled toho nejdĹŻleĹľitÄ›jšĂho, na ÄŤem Piráti pracujĂ nejen v PoslaneckĂ© snÄ›movnÄ›.', //apiUrl: process.env.NODE_ENV === 'development' ? 'http://127.0.0.1:8000/api/' : 'https://admin.piratipracuji.cz/api/', //apiUrl: 'https://admin.piratipracuji.cz/api/', - apiUrl: process.env.API_URL || 'https://redmineapi.mfnet.cz/', + apiUrl: process.env.API_URL || "https://www.piratipracuji.cz/api/", //apiUrl: 'https://redmineapi.mfnet.cz/', productionUrl: process.env.BASE_URL || 'https://www.piratipracuji.cz', //productionUrl: 'https://www.piratipracuji.cz', diff --git a/src-front/pages/blog/_slug.vue b/src-front/pages/blog/_slug.vue index 58e12868b2f98759ee3b8f98d163f855ac4611d5..6002f8e6f8e9c7360d8929e09fed024d54dc3496 100755 --- a/src-front/pages/blog/_slug.vue +++ b/src-front/pages/blog/_slug.vue @@ -61,7 +61,7 @@ export default { { hid: 'description', property: 'description', content: this.post ? this.post.description : '' }, { hid: 'og:description', property: 'og:description', content: this.post ? this.post.description : '' }, { hid: 'og:title', property: 'og:title', content: title }, - { hid: 'og:url', property: 'og:url', content: 'https://piratipracuji.mfnet.cz'+this.$nuxt.$route.path }, + { hid: 'og:url', property: 'og:url', content: 'https://www.piratipracuji.cz'+this.$nuxt.$route.path }, ogImage, ], };