Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Commit

Permalink
Update font url
Browse files Browse the repository at this point in the history
  • Loading branch information
GeopJr committed Aug 20, 2020
1 parent 5d16ae8 commit 108117f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ async function upload(file, filename, url) {

async function downloadFont(){
try {
const result = await fetch("https://github.com/antijingoist/opendyslexic/blob/master/compiled/OpenDyslexic-Regular.otf?raw=true");
const result = await fetch("https://raw.githubusercontent.com/antijingoist/opendyslexic/master/compiled/OpenDyslexic-Regular.otf");
const fileStream = await fs.writeFile("OpenDyslexic-Regular.otf", result);
} catch (err) {
core.setFailed('[ERROR]:' + err.message);
Expand Down

0 comments on commit 108117f

Please sign in to comment.