Revert "Use instance/test until negative fields bug in virtual corpora is fixed in main instance"
Must be reverted before the library goes public.
This reverts commit 71626ac1628c0de0945418d339f3742281e217bd.
Change-Id: I18220ec22a8680ffb65b9017504474fd96048978
diff --git a/R/KorAPConnection.R b/R/KorAPConnection.R
index 099975c..84aec06 100644
--- a/R/KorAPConnection.R
+++ b/R/KorAPConnection.R
@@ -28,7 +28,7 @@
#' @rdname KorAPConnection-class
#' @export
setMethod("initialize", "KorAPConnection",
- function(.Object, KorAPUrl = "https://korap.ids-mannheim.de/instance/test/", apiVersion = 'v1.0', apiUrl) {
+ function(.Object, KorAPUrl = "https://korap.ids-mannheim.de/", apiVersion = 'v1.0', apiUrl) {
.Object <- callNextMethod()
m <- regexpr("https?://[^?]+", KorAPUrl, perl = TRUE)
.Object@KorAPUrl <- regmatches(KorAPUrl, m)