kopia lustrzana https://github.com/learn-awesome/learndb
added npm install to netlify.toml and added node-fetch back in
rodzic
bfc24807a8
commit
72c94b6de5
|
@ -1,2 +1,3 @@
|
|||
[build]
|
||||
functions = "netlify/functions/"
|
||||
functions = "netlify/functions/"
|
||||
command = "npm install"
|
|
@ -1,6 +1,6 @@
|
|||
const https = require('https'); // Import for webscraping (fetchContentFromURL(url) function
|
||||
// const axios = require('axios');
|
||||
// const fetch = require('node-fetch').default;
|
||||
const fetch = require('node-fetch').default;
|
||||
// const fetch = request('node-fetch').default;
|
||||
|
||||
// Placeholder function to fetch content from URL using a web scraping service
|
||||
|
|
Ładowanie…
Reference in New Issue