Make service url configurable

Change-Id: I159c0a05607cd56e7d2584277351db980cb71768
diff --git a/cmd/termmapper/main.go b/cmd/termmapper/main.go
index 770e522..644fa06 100644
--- a/cmd/termmapper/main.go
+++ b/cmd/termmapper/main.go
@@ -42,6 +42,7 @@
 	Description string
 	Server      string
 	SDK         string
+	ServiceURL  string
 	MapID       string
 	Mappings    []TemplateMapping
 }
@@ -288,6 +289,7 @@
 			Description: config.Description,
 			Server:      server,
 			SDK:         sdk,
+			ServiceURL:  yamlConfig.ServiceURL,
 			MapID:       mapID,
 			Mappings:    mappings,
 		}
@@ -353,7 +355,7 @@
   		  
        let data = {
          'action'  : 'pipe',
-         'service' : 'https://korap.ids-mannheim.de/plugin/termmapper/` + data.MapID + `/query'
+         'service' : '` + data.ServiceURL + `/` + data.MapID + `/query'
        };
 
        function pluginit (p) {