Pass adminAssetsDir into API server.