Default OnlineValidator url; rebuild dist
This commit is contained in:
@@ -7,7 +7,7 @@ export default class OnlineValidatorBadge extends React.Component {
|
||||
let { validatorUrl } = getConfigs()
|
||||
this.state = {
|
||||
url: specSelectors.url(),
|
||||
validatorUrl: validatorUrl
|
||||
validatorUrl: validatorUrl || "https://online.swagger.io/validator"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,7 @@ export default class OnlineValidatorBadge extends React.Component {
|
||||
|
||||
this.setState({
|
||||
url: specSelectors.url(),
|
||||
validatorUrl: validatorUrl
|
||||
validatorUrl: validatorUrl || "https://online.swagger.io/validator"
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user