Skip to content

Commit

Permalink
Client: Fix meta tags
Browse files Browse the repository at this point in the history
  • Loading branch information
winwiz1 committed Dec 19, 2020
1 parent 0d06c48 commit c74e2ad
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions client/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,18 +161,12 @@ const getWebpackConfig = (env, argv) => {
sizes: "180x180"
},
],
meta: [
{ name: "viewport", content: "width=device-width, initial-scale=1.0, shrink-to-fit=no" },
{ name: "description", content: metaDescription },
{ name: "keywords", content: metaKeywords },
{ name: "robots", content: "index, follow" },
{ property: "og:title", content: configuredSPAs.appTitle },
{ property: "og:type", content: "website" },
{ property: "og:url", content: metaOwnUrl },
{ property: "og:description", content: metaDescription },
{ property: "twitter:title", content: configuredSPAs.appTitle },
{ property: "twitter:description", content: metaDescription },
],
meta: {
viewport: "width=device-width, initial-scale=1.0, shrink-to-fit=no",
description: metaDescription,
keywords: metaKeywords,
robots: "index, follow",
},
minify: false,
})
);
Expand Down

0 comments on commit c74e2ad

Please sign in to comment.