Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Base URL to Dialogflow domain #10

Open
maxmika opened this issue Jan 30, 2019 · 0 comments
Open

Update Base URL to Dialogflow domain #10

maxmika opened this issue Jan 30, 2019 · 0 comments

Comments

@maxmika
Copy link

maxmika commented Jan 30, 2019

In PrivateRequest.swift the Base URL from api.ai is defined as

let kBaseURLString = "https://api.api.ai/v1"

Since api.ai was renamed to Dialogflow.com I would suggest to adapt the Base URL to https://api.dialogflow.com/v1.

It took me a while to figure out why my App rejected a SSL connection to AI when launched behind a corporate proxy + VPN, although I added dialogflow.com as an ATS exception domain, until I found out this Pod uses api.api.ai as Base URL.

If this step seems to rigorous to you, another possibility would be to allow the user to choose from both BaseURLs when calling AI.configure(...).

Regards & thanks,

Max

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant