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

URLs in ajax-response html are not re-written #373

Closed
shakyShane opened this issue Dec 18, 2014 · 2 comments · May be fixed by tobybellwood/govstrap#4
Closed

URLs in ajax-response html are not re-written #373

shakyShane opened this issue Dec 18, 2014 · 2 comments · May be fixed by tobybellwood/govstrap#4
Labels

Comments

@shakyShane
Copy link
Contributor

For example, A Wordpress site that you access on your mobile over wifi - if it makes an ajax request that contains any kind of absolute URL, they are missed by the link-rewriting and results in 404's.

@shakyShane shakyShane added the bug label Dec 18, 2014
@hugooliveirad
Copy link

Suffering with this too 👍

@shakyShane
Copy link
Contributor Author

browserSync({
    server: "test/fixtures",
    snippetOptions: {
        whitelist: ["/wp-admin/admin-ajax.php"], // whitelist checked first
        blacklist: ["/wp-admin/**"]
    }
});

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

Successfully merging a pull request may close this issue.

2 participants