Skip to content

Commit

Permalink
Merge pull request #611 from openedx/nsprenkle/configurable-robots-meta
Browse files Browse the repository at this point in the history
feat: allow setting robots content attribute through config
  • Loading branch information
nsprenkle authored Nov 18, 2024
2 parents fe27ca5 + 6100fd8 commit 0a4e14b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/webpack.dev-stage.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ module.exports = merge(commonConfig, {
chunks: ['app'],
FAVICON_URL: process.env.FAVICON_URL || null,
OPTIMIZELY_PROJECT_ID: process.env.OPTIMIZELY_PROJECT_ID || null,
META_TAG_ROBOTS_CONTENT_ATTR: process.env.META_TAG_ROBOTS_CONTENT_ATTR || null,
NODE_ENV: process.env.NODE_ENV || null,
}),
new Dotenv({
Expand Down
1 change: 1 addition & 0 deletions config/webpack.dev.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ module.exports = merge(commonConfig, {
chunks: ['app'],
FAVICON_URL: process.env.FAVICON_URL || null,
OPTIMIZELY_PROJECT_ID: process.env.OPTIMIZELY_PROJECT_ID || null,
META_TAG_ROBOTS_CONTENT_ATTR: process.env.META_TAG_ROBOTS_CONTENT_ATTR || null,
NODE_ENV: process.env.NODE_ENV || null,
}),
new Dotenv({
Expand Down
1 change: 1 addition & 0 deletions config/webpack.prod.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ module.exports = merge(commonConfig, {
chunks: ['app'],
FAVICON_URL: process.env.FAVICON_URL || null,
OPTIMIZELY_PROJECT_ID: process.env.OPTIMIZELY_PROJECT_ID || null,
META_TAG_ROBOTS_CONTENT_ATTR: process.env.META_TAG_ROBOTS_CONTENT_ATTR || null,
NODE_ENV: process.env.NODE_ENV || null,
}),
new Dotenv({
Expand Down

0 comments on commit 0a4e14b

Please sign in to comment.