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:
Nicolas Froger 2024-07-27 02:20:08 +02:00
commit efde8738a8
No known key found for this signature in database
23 changed files with 803 additions and 343 deletions

View file

@ -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',