Fixed unable to get assets in production-mode.