From d5d5ee796ab5bbf24a149aa52f56721a1bae5092 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Ole=20Volds=C3=A6ter?= <ole.voldsater@uib.no>
Date: Thu, 10 Oct 2019 11:32:22 +0200
Subject: [PATCH] =?UTF-8?q?bruker=20url=20til=20=C3=A5=20hente=20artikkel?=
 =?UTF-8?q?=20(ikke=20hardkodet=20lenger)?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/App.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/App.vue b/src/App.vue
index 49fc419e..876150f9 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -12,7 +12,7 @@ export default {
   name: 'app',
   data: function() {
     return {
-      article_id: 15544
+      article_id: window.location.href.split("/").pop()
     }
   },
   components: {
-- 
GitLab