Added procfile

This commit is contained in:
NunoSempere 2021-04-08 19:19:56 +02:00
parent 448864a695
commit 5e0457d051
3 changed files with 3 additions and 1 deletions

1
Procfile Normal file
View File

@ -0,0 +1 @@
web: node .src/utils/index.js

View File

@ -4,7 +4,7 @@
"description": "Get forecasts from various platforms",
"main": "src/index.js",
"scripts": {
"start": "node src/index.js",
"start": "node src/utils/index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {

View File

@ -161,6 +161,7 @@ export async function csetforetell(){
console.log(question)
results.push(question)
} catch(error){
console.log(error)
console.log(`We encountered some error when fetching the URL: ${url}, so it won't appear on the final json`)
}
}