Fixed issue with server routing

This commit is contained in:
Terry Cain 2017-09-26 20:43:58 +01:00
parent e61b9cc682
commit dfb712848d
No known key found for this signature in database
GPG Key ID: 14D90844E4E9B9F3

View File

@ -7,7 +7,7 @@ url_bases = [
url_paths = {
'{0}/v1/voices': PollyResponse.dispatch,
'{0}/v1/lexicons/.+': PollyResponse.dispatch,
'{0}/v1/lexicons/(?P<lexicon>[^/]+)': PollyResponse.dispatch,
'{0}/v1/lexicons': PollyResponse.dispatch,
'{0}/v1/speech': PollyResponse.dispatch,
}