refactor, add post edit and delete, merge APIs, add not found view
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
This commit is contained in:
parent
2647ac244d
commit
efde8738a8
23 changed files with 803 additions and 343 deletions
|
|
@ -41,7 +41,7 @@ const onSubmit = form.handleSubmit(async (values) => {
|
|||
formContainer.value.classList.add('hidden')
|
||||
formStatus.value.sending = true
|
||||
|
||||
const response = await fetch(API_BASE_URL + '/admin/location', {
|
||||
const response = await fetch(API_BASE_URL + '/location', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue