Skip to content

Commit

Permalink
EDSC-3484: Fix /contact_info url
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagogalvao authored and macrouch committed Feb 20, 2023
1 parent d4459ca commit 46da7c7
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion static/src/js/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ class App extends Component {
)}
/>
<Route
path={this.portalPaths('/contact_info')}
path={this.portalPaths('/contact-info')}
render={() => (
<AuthRequiredContainer>
<ContactInfo />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ class SecondaryToolbar extends Component {
</Dropdown.Item>
</LinkContainer>
<LinkContainer
to={`${portalPath(portal)}/contact_info`}
to={`${portalPath(portal)}/contact-info`}
>
<Dropdown.Item
className="secondary-toolbar__contact-info"
Expand Down
2 changes: 1 addition & 1 deletion static/src/js/routes/ContactInfo/ContactInfo.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const ContactInfo = () => (
<title>Contact Information</title>
<meta name="title" content="Contact Information" />
<meta name="robots" content="noindex, nofollow" />
<link rel="canonical" href={`${edscHost}/contact_info`} />
<link rel="canonical" href={`${edscHost}/contact-info`} />
</Helmet>
<div className="route-wrapper route-wrapper--dark route-wrapper--content-page">
<div className="route-wrapper__content">
Expand Down
2 changes: 1 addition & 1 deletion static/src/public/robots.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ User-Agent: *
Disallow: /downloads
Disallow: /projects
Disallow: /search/granules
Disallow: /contact_info
Disallow: /contact-info

0 comments on commit 46da7c7

Please sign in to comment.