kopia lustrzana https://github.com/learn-awesome/learndb
added node-fetch
rodzic
feb3843e27
commit
c29406a1c6
|
@ -1,3 +1,3 @@
|
|||
[build]
|
||||
functions = "netlify/functions/"
|
||||
command = "cd ./netlify/functions/ && npm install && cd ../ && npm install"
|
||||
command = "cd ./netlify/functions/ && npm install && cd ../ && cd ./public && npm install"
|
|
@ -1,4 +1,5 @@
|
|||
const https = require('https'); // Import for webscraping (fetchContentFromURL(url) function
|
||||
const fetch = require('node-fetch').default;
|
||||
|
||||
// Placeholder function to fetch content from URL using a web scraping service
|
||||
async function fetchContentFromURL(url) {
|
||||
|
|
Ładowanie…
Reference in New Issue