New places can again be created in the mp client, and used when creating a new note, fixes issue #47
This commit is contained in:
parent
cd0e7659f1
commit
3e4bd16db4
10 changed files with 8 additions and 8 deletions
2
resources/assets/es6/submit-place.js
vendored
2
resources/assets/es6/submit-place.js
vendored
|
@ -10,7 +10,7 @@ export default function submitNewPlace(map) {
|
|||
formData.append('place-latitude', document.querySelector('#place-latitude').value);
|
||||
formData.append('place-longitude', document.querySelector('#place-longitude').value);
|
||||
//post the new place
|
||||
fetch('/places/new', {
|
||||
fetch('/micropub/places', {
|
||||
//send cookies with the request
|
||||
credentials: 'same-origin',
|
||||
method: 'post',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue