filepond-boilerplate-php
filepond-boilerplate-php copied to clipboard
Can I POST from a different location?
Can I configure the server set up through filepond-boilerplate-php to accept POST from locations other than http://192.168.33.10/?
I want to have my index.html file running at http://localhost:8000/ but POST to the server at http://192.168.33.10/api/ and I'm receiving this error
POST http://192.168.33.10/api/
net::ERR_FAILED
failed to load resource
at filepond.js:4850 (https://unpkg.com/[email protected]/dist/filepond.js)
// let's send our data
xhr.send(data);
Is there something I can change in the PHP config to make this work?
Thank you! Grant
I think you could do so with url rewriting in .htaccess or by moving the files itself to a different folder.