set app assets before server rendering is called