From e6855261058b6668166aa4734a5695c5aac52026 Mon Sep 17 00:00:00 2001 From: Wesley Kerfoot Date: Sun, 8 Dec 2019 21:49:03 -0500 Subject: [PATCH] fix links --- app/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/run.sh b/app/run.sh index 55d42e9..b7127df 100644 --- a/app/run.sh +++ b/app/run.sh @@ -7,7 +7,7 @@ function updateLinks() { then curl -XDELETE "http://$COUCHDB_USER:$COUCHDB_PASSWORD@127.0.0.1:5984/$COUCHDB_NAME/links?rev=$revision_id" || true fi - curl -XPUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@127.0.0.1:5984/$COUCHDB_NAME/links -d @link.json || true + curl -XPUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@127.0.0.1:5984/$COUCHDB_NAME/links -d @/src/link.json || true } @@ -18,7 +18,7 @@ while [ $? != 0 ]; do done curl -XPUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@127.0.0.1:5984/$COUCHDB_NAME || true -curl -XPUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@127.0.0.1:5984/$COUCHDB_NAME/_design/blogPosts -d @/blogPosts.json || true +curl -XPUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@127.0.0.1:5984/$COUCHDB_NAME/_design/blogPosts -d @/src/blogPosts.json || true updateLinks