Skip to content

Commit

Permalink
Launch HVD (#2290)
Browse files Browse the repository at this point in the history
* remove enable_hvd flag

* Remove enable_hvd flag
  • Loading branch information
RubenSandwich committed Jan 30, 2024
1 parent 72949f0 commit 7338930
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 28 deletions.
3 changes: 1 addition & 2 deletions config/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
},
"flags": {
"enable_datadog": true,
"enable_io_beta_cta": true,
"enable_hvd": false
"enable_io_beta_cta": true
}
}
4 changes: 1 addition & 3 deletions config/development.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@
"learn": {
"max_static_paths": 1
},
"flags": {
"enable_hvd": true
}
"flags": {}
}
4 changes: 1 addition & 3 deletions config/hvd-preview.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,5 @@
"learn": {
"max_static_paths": 0
},
"flags": {
"enable_hvd": true
}
"flags": {}
}
4 changes: 1 addition & 3 deletions config/preview.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@
"unifiedIndexName": "staging_DEVDOT_omni"
}
},
"flags": {
"enable_hvd": true
}
"flags": {}
}
4 changes: 1 addition & 3 deletions config/project-preview.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,5 @@
"learn": {
"max_static_paths": 0
},
"flags": {
"enable_hvd": false
}
"flags": {}
}
7 changes: 0 additions & 7 deletions src/pages/validated-designs/[...slug]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,6 @@ export async function getStaticPaths() {
}

export async function getStaticProps(context) {
/** @TODO remove this conditional after release */
if (__config.flags.enable_hvd === false) {
return {
notFound: true,
}
}

const categoryGroups = getHvdCategoryGroups()
if (!categoryGroups) {
return {
Expand Down
7 changes: 0 additions & 7 deletions src/pages/validated-designs/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,6 @@ import { getHvdCategoryGroups } from 'views/validated-designs/server'
import ValidatedDesignsLandingView from 'views/validated-designs'

export async function getStaticProps() {
/** @TODO remove this conditional after release */
if (__config.flags.enable_hvd === false) {
return {
notFound: true,
}
}

const categoryGroups = getHvdCategoryGroups()
if (!categoryGroups) {
return {
Expand Down

0 comments on commit 7338930

Please sign in to comment.