-
Notifications
You must be signed in to change notification settings - Fork 12
Remove clean markdown generation and artifacts. #833
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
577bbec
c0be9ee
295befb
b78df10
492ef4a
4df8428
66cb470
9fe2c4f
306f8e0
6d64099
e264848
d203d34
490b4fe
fb23a34
1c81482
7ee60c7
cd65017
ffcf096
166187e
f9581c4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,7 +60,9 @@ function CopyPageButton() { | |
|
|
||
| setLoading(true); | ||
| try { | ||
| const response = await fetch(`/api/markdown${pathname}.md`); | ||
| const response = await fetch(`/api/markdown${pathname}`, { | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think this doesn't need to call an api, we can use fetch in the same url + path and just add the headers |
||
| headers: { Accept: "application/markdown" }, | ||
| }); | ||
|
jottakka marked this conversation as resolved.
Outdated
|
||
| if (!response.ok) { | ||
| throw new Error("Failed to fetch markdown"); | ||
| } | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.