serve api via static files