mirror of
https://github.com/FoggedLens/iD.git
synced 2026-02-13 09:12:52 +00:00
Fix issue with fetching icons from the noun project
This commit is contained in:
@@ -819,8 +819,8 @@ function writeTnpIcons(tnpIcons) {
|
||||
* }
|
||||
*/
|
||||
let nounAuth;
|
||||
if (fs.existsSync('../the_noun_project.auth')) {
|
||||
nounAuth = JSON.parse(fs.readFileSync('../the_noun_project.auth', 'utf8'));
|
||||
if (fs.existsSync('the_noun_project.auth')) {
|
||||
nounAuth = JSON.parse(fs.readFileSync('the_noun_project.auth', 'utf8'));
|
||||
}
|
||||
const baseURL = 'http://api.thenounproject.com/icon/';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user