Skip to content

Commit

Permalink
Merge pull request #29 from miteyema/dev
Browse files Browse the repository at this point in the history
refactor appUrl
  • Loading branch information
miteyema authored Sep 8, 2020
2 parents 249aa3f + 2d475ca commit d1ce8a5
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions nuxt.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const appUrl = 'https://nuxt-i18n-demo.netlify.app'

export default {
/*
** Nuxt rendering mode
Expand Down Expand Up @@ -61,7 +63,7 @@ export default {
** i18n config
*/
i18n: {
baseUrl: 'https://nuxt-i18n-demo.netlify.com',
baseUrl: appUrl,
seo: true,
locales: [
{
Expand Down Expand Up @@ -108,9 +110,9 @@ export default {
** Sitemap config
*/
sitemap: {
hostname: 'https://nuxt-i18n-demo.netlify.com',
hostname: appUrl,
trailingSlash: true,
i18n: 'en',
i18n: true,
},

/*
Expand Down

0 comments on commit d1ce8a5

Please sign in to comment.