news
This commit is contained in:
parent
bc0761191e
commit
c9899efa2a
|
@ -7,10 +7,10 @@ if (!process.env.ACCESS_TOKEN) throw new Error("No access token provided.");
|
|||
|
||||
let fetch_url;
|
||||
if (!process.env.FETCH_URL)
|
||||
fetch_url = "https://www.theverge.com/rss/index.xml";
|
||||
fetch_url = "https://https://www.morski.hr/rss/";
|
||||
else fetch_url = process.env.FETCH_URL;
|
||||
let instance_url;
|
||||
if (!process.env.INSTANCE_URL) instance_url = "https://mastodon.social";
|
||||
if (!process.env.INSTANCE_URL) instance_url = "https://mastodon.hr";
|
||||
else instance_url = process.env.INSTANCE_URL;
|
||||
let fetch_interval;
|
||||
if (!process.env.FETCH_INTERVAL) fetch_interval = 5;
|
||||
|
|
Loading…
Reference in a new issue