Skip to content

Commit c74e2ad

Browse files
committed
Client: Fix meta tags
1 parent 0d06c48 commit c74e2ad

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

client/webpack.config.js

+6-12
Original file line numberDiff line numberDiff line change
@@ -161,18 +161,12 @@ const getWebpackConfig = (env, argv) => {
161161
sizes: "180x180"
162162
},
163163
],
164-
meta: [
165-
{ name: "viewport", content: "width=device-width, initial-scale=1.0, shrink-to-fit=no" },
166-
{ name: "description", content: metaDescription },
167-
{ name: "keywords", content: metaKeywords },
168-
{ name: "robots", content: "index, follow" },
169-
{ property: "og:title", content: configuredSPAs.appTitle },
170-
{ property: "og:type", content: "website" },
171-
{ property: "og:url", content: metaOwnUrl },
172-
{ property: "og:description", content: metaDescription },
173-
{ property: "twitter:title", content: configuredSPAs.appTitle },
174-
{ property: "twitter:description", content: metaDescription },
175-
],
164+
meta: {
165+
viewport: "width=device-width, initial-scale=1.0, shrink-to-fit=no",
166+
description: metaDescription,
167+
keywords: metaKeywords,
168+
robots: "index, follow",
169+
},
176170
minify: false,
177171
})
178172
);

0 commit comments

Comments
 (0)