Enhanced ListDomainsAction so that it returns default redirects in the response

This commit is contained in:
Alejandro Celaya
2021-12-09 12:11:09 +01:00
parent 0b22fb933c
commit 348ac78f5a
7 changed files with 43 additions and 25 deletions

View File

@@ -46,6 +46,9 @@
}
}
}
},
"defaultRedirects": {
"$ref": "../definitions/NotFoundRedirects.json"
}
}
}
@@ -84,7 +87,12 @@
"invalidShortUrlRedirect": "https://example.com/invalid-url"
}
}
]
],
"defaultRedirects": {
"baseUrlRedirect": "https://somewhere.com",
"regular404Redirect": null,
"invalidShortUrlRedirect": null
}
}
}
}