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

Ajax suggestions with relative path #73

Closed
flaviorib-dev opened this issue Jun 26, 2021 · 5 comments
Closed

Ajax suggestions with relative path #73

flaviorib-dev opened this issue Jun 26, 2021 · 5 comments

Comments

@flaviorib-dev
Copy link

Hi everyone! Thanks for the great application!

I would like to know how I can use a relative path to the ajax resource script. Currently I can only use the full URL. Is that possible?

Thanks in advance

@amsify42
Copy link
Owner

If your base path is a simple domain, you can set even relative path in setting suggestionsAction.url

@flaviorib-dev
Copy link
Author

Actually, the function "isAbsoluteURL" is always returning false, no mather the type of the path I inform. So, I had to change the function to return true.

@amsify42
Copy link
Owner

amsify42 commented Jul 1, 2021

Okay I will look into it, try to fix and update.

@amsify42
Copy link
Owner

Sorry for the very late response. I have tested isAbsoluteURL() method with both absolute and relative url and it seems to be working. Can you please share what absolute url you tried and it didn't work?

@flaviorib-dev
Copy link
Author

I just tested now with this latest update and I cal tell it's working. I have not seen any changes in the code related to the URLs, but the fact is that now I have not had to change anything so that the code works for me. Only to register, my urls are in localhost with a self made ssl certificate.

Thanks again for the great application.

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

2 participants