site: allow to directly mount api
This commit is contained in:
parent
cc449cd9d7
commit
84a068e5a8
3 changed files with 17 additions and 3 deletions
|
@ -6,7 +6,6 @@ app->secrets(["unused"]);
|
|||
app->static->paths(["s"]);
|
||||
app->static->prefix("/s");
|
||||
|
||||
plugin Mount => { "/api/v0" => "script/pooru-api-v0" };
|
||||
plugin Mount => { "/" => "script/pooru-site" };
|
||||
|
||||
app->start;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue