site: allow to directly mount api

This commit is contained in:
Lucas Gabriel Vuotto 2025-05-04 09:36:09 +00:00
parent cc449cd9d7
commit 84a068e5a8
3 changed files with 17 additions and 3 deletions

View file

@ -1,6 +1,12 @@
{
pooru_api => {
v0 => "http://127.0.0.1:3000/api/v0/",
v0 => {
# Recommended for development.
mount => "/api/v0",
# To run in a different location:
#endpoint => "https://api.example.com/v0",
},
},
store => "db/pooru.storable",