Add CNAME to website config

This commit is contained in:
Torkel Rogstad 2019-06-20 17:16:50 +02:00
parent 98b0a6de08
commit 7b38a74c22

View File

@ -20,7 +20,8 @@
* and const url = "https://your-domain.org".
*/
const url = "https://bitcoin-s.org";
const cname = "bitcoin-s.org";
const url = `https://${cname}`;
const baseUrl = "/";
const scaladocUrl = baseUrl + "api/org/bitcoins";
@ -73,6 +74,8 @@ const siteConfig = {
tagline: "Bitcoin implementation in Scala",
url,
baseUrl,
/** Docusaurus creates a CNAME file with contents of this key */
cname,
// URL for editing docs, has to be present for the
// "Edit this Doc" button to appear