Revert "Pass adminAssetsDir into API server."

This reverts commit 42c413929e7f0367f5d2a7f7b8a435c9c2545075.
fix #80. Support using durations to specify start and end time