summary refs log tree commit diff
diff options
context:
space:
mode:
authormyk bilokonsky <mbilokonsky@gmail.com>2017-04-10 03:26:50 +0200
committermyk bilokonsky <mbilokonsky@gmail.com>2017-04-10 03:26:50 +0200
commitacb6ec54e4c5ba7d3ba9cdbcfaefd80dc2f6bae1 (patch)
tree99d363bd5f2f369ec2a25808ae099d959f86e959
parent60def59fc8ab7fdf97703e048c97d3261a55d9d3 (diff)
there it is
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index d057ee1..a812d47 100644
--- a/index.js
+++ b/index.js
@@ -47,7 +47,7 @@ function cycle() {
 
 var M = new mastodon({
   access_token: process.env.AMBASSADOR_TOKEN,
-  api_url: process.env.INSTANCE_HOST
+  api_url: process.env.INSTANCE_HOST + '/api/v1'
 });
 
 var boosted = {};