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 url to use rest_url from localized script #2

Open
resonantdoghouse opened this issue Mar 22, 2018 · 0 comments
Open

update url to use rest_url from localized script #2

resonantdoghouse opened this issue Mar 22, 2018 · 0 comments
Assignees

Comments

@resonantdoghouse
Copy link

The issue here is the script will only work on localhost with port 8888

This needs to be updated to use a localized script in your functions.php
Please see the related issue for functions.php

url: "http://localhost:8888/starfish/wp-json/wp/v2/profile/" + postId,

@PaulDudsdeemaytha PaulDudsdeemaytha self-assigned this Mar 23, 2018
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