Skip to content

Commit

Permalink
Docs: fix blank installation page (#1148)
Browse files Browse the repository at this point in the history
  • Loading branch information
christianvuerings committed Aug 17, 2020
1 parent bd764bd commit 5db42d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/src/components/Markdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export default function Markdown({
text,
size = 'lg',
}: Props) {
console.log('/// Markdown - fetchfile', fetchFile);
const [fetchedText, setFetchedText] = useState(null);
const renderer = new Renderer();

Expand Down
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@
from = "/*"
to = "/"
status = 200

[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "*"

0 comments on commit 5db42d2

Please sign in to comment.