Fix #415 publicUrl/3 reverses paths of development mode and production mode