fix bug: add router after minihtml and compress