<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">The WebCrypto library makes available a variable "crypto" in browser side. This variable has useful keys like <code class="notranslate">subtle</code>. And in the development environment this works just fine.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">In production however the variable <code class="notranslate">crypto</code> is an empty object. As in <code class="notranslate">{}</code>. This is true in Chromium: Version 65.0.3325.181 (Official Build) Arch Linux (64-bit)</p>
<p dir="auto">Firefox 50.0.2 works just fine.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">The production site is here: <a href="http://159.65.115.61/" rel="nofollow">http://159.65.115.61/</a></p>
<p dir="auto">Later I'll try produce a minimal code example too.</p>
<h2 dir="auto">Context</h2>
<p dir="auto">I need to do ArrayBuffer -&gt; SHA256 hashing on client side.</p>
<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>^5.0.0</td>
</tr>
<tr>
<td>node</td>
<td>v8.2.1</td>
</tr>
<tr>
<td>OS</td>
<td>docker + ubuntu</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 65.0.3325.181</td>
</tr>
</tbody>
</table>
<h2 dir="auto">Other</h2>
<p dir="auto">While this may be a Chrome issue it's unclear how do I debug the situation since it's working in dev env.</p>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>
<p dir="auto">Visiting a path with no handler should return a 404 code.</p>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">The 404 page is rendered, but the status code shows as 200.</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<ol dir="auto">
<li></li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="npx create-next-app --example custom-server-hapi custom-server-hapi-app
# or
yarn create next-app --example custom-server-hapi custom-server-hapi-app"><pre class="notranslate"><code class="notranslate">npx create-next-app --example custom-server-hapi custom-server-hapi-app
# or
yarn create next-app --example custom-server-hapi custom-server-hapi-app
</code></pre></div>
<ol start="2" dir="auto">
<li>Visit <a href="http://localhost:3000/foo" rel="nofollow">http://localhost:3000/foo</a></li>
</ol>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3836725/39399333-bfbc1774-4b13-11e8-8e37-af2cef4eeed2.jpg"><img src="https://user-images.githubusercontent.com/3836725/39399333-bfbc1774-4b13-11e8-8e37-af2cef4eeed2.jpg" alt="screen shot 2018-04-28 at 18 41 04" style="max-width: 100%;"></a></p>
<h2 dir="auto">Context</h2>


<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>next</td>
<td>5.1.0</td>
</tr>
<tr>
<td>hapi</td>
<td>17.1.1</td>
</tr>
<tr>
<td>node</td>
<td>9.11.1</td>
</tr>
<tr>
<td>OS</td>
<td>macOS High Sierra 10.13.4</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 65.0.3325.181</td>
</tr>
</tbody>
</table>