Deploying to gh-pages from @ badges/shields@50ea7068a8 🚀
This commit is contained in:
@@ -127,10 +127,10 @@ welcome!</p>
|
||||
<h2>Separate frontend hosting</h2>
|
||||
<p>If you want to host the frontend on a separate server, such as cloud storage
|
||||
or a CDN, you can do that.</p>
|
||||
<p>First, build the frontend, pointing <code>GATSBY_BASE_URL</code> to your server.</p>
|
||||
<pre class="prettyprint source lang-sh"><code>GATSBY_BASE_URL=https://your-server.example.com npm run build
|
||||
<p>First, build the frontend, pointing <code>BASE_URL</code> to your server.</p>
|
||||
<pre class="prettyprint source lang-sh"><code>BASE_URL=https://your-server.example.com npm run build
|
||||
</code></pre>
|
||||
<p>Then copy the contents of the <code>build/</code> folder to your static hosting / CDN.</p>
|
||||
<p>Then copy the contents of the <code>public/</code> folder to your static hosting / CDN.</p>
|
||||
<p>There are also a couple settings you should configure on the server.</p>
|
||||
<p>To help out users, you can make the Shields server redirect the server root.
|
||||
Set the <code>REDIRECT_URI</code> environment variable:</p>
|
||||
@@ -180,7 +180,7 @@ Set <code>public.requireCloudflare: true</code>.</p>
|
||||
<br class="clear">
|
||||
|
||||
<footer>
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Thu Jun 15 2023 18:21:37 GMT+0000 (Coordinated Universal Time)
|
||||
Documentation generated by <a href="https://github.com/jsdoc/jsdoc">JSDoc 4.0.2</a> on Sat Jun 17 2023 10:00:37 GMT+0000 (Coordinated Universal Time)
|
||||
</footer>
|
||||
|
||||
<script> prettyPrint(); </script>
|
||||
|
||||
Reference in New Issue
Block a user