title: Is there a way to have a Heroku error/maintenance url served directly without the iframe
body: <p>Heroku allows you to turn "maintenance mode" on for your applications, and also allows you to specify a custom url to be served during this period.  I just tried this out and discovered that Heroku serves the custom url in an iframe.  This wasn't quite what I was expecting.</p>
  
  <p>We use Heroku to host an API service, and had planned on having the custom error/maintenance pages serve json data. We're hoping that there is a way to have the maintenance url served directly.</p>
  
  <p>After searching SO, Quora, and the general "internets" I haven't seen any posts asking this question, so here I am posting on SO.</p>
  
  <p>Below are posts that are related to my question, but don't address it directly.</p>
  
  <p>Old posts before there was any customization:
  <a href="https://groups.google.com/forum/?fromgroups=#!topic/heroku/EJRtW1XrlpU" rel="noreferrer">https://groups.google.com/forum/?fromgroups=#!topic/heroku/EJRtW1XrlpU</a></p>
  
  <p>Post asking for custom javascript in the html rendering the iframe:
  <a href="https://groups.google.com/forum/?fromgroups=#!topic/heroku/Db0JEWmuz_w" rel="noreferrer">https://groups.google.com/forum/?fromgroups=#!topic/heroku/Db0JEWmuz_w</a></p>