@@ -811,7 +811,7 @@ $scope.LaunchLimes = function(){
811811 $scope . save = function ( ) {
812812
813813 var parameters = {
814- endpoint : ConfigurationService . getSPARQLEndpoint ( ) ,
814+ endpoint : AccountService . getUsername ( ) == null ? ConfigurationService . getPublicSPARQLEndpoint ( ) : ConfigurationService . getSPARQLEndpoint ( ) ,
815815 uriBase : ConfigurationService . getUriBase ( )
816816 } ;
817817
@@ -1536,7 +1536,7 @@ var GeoliftCtrl = function($scope, $http, ConfigurationService, flash, ServerErr
15361536
15371537 var parameters = {
15381538 rdfFile : "result.ttl" ,
1539- endpoint : ConfigurationService . getSPARQLEndpoint ( ) ,
1539+ endpoint : AccountService . getUsername ( ) == null ? ConfigurationService . getPublicSPARQLEndpoint ( ) : ConfigurationService . getSPARQLEndpoint ( ) ,
15401540 graph : $scope . saveDataset . replace ( ':' , ConfigurationService . getUriBase ( ) ) ,
15411541 uriBase : ConfigurationService . getUriBase ( ) ,
15421542 username : AccountService . getUsername ( )
@@ -2107,7 +2107,7 @@ var TripleGeoCtrl = function($scope, $http, ConfigurationService, flash, ServerE
21072107 var parameters = {
21082108 rdfFile : "result." + fileType ,
21092109 fileType : fileType ,
2110- endpoint : ConfigurationService . getSPARQLEndpoint ( ) ,
2110+ endpoint : AccountService . getUsername ( ) == null ? ConfigurationService . getPublicSPARQLEndpoint ( ) : ConfigurationService . getSPARQLEndpoint ( ) ,
21112111 graph : $scope . saveDataset . replace ( ':' , ConfigurationService . getUriBase ( ) ) ,
21122112 uriBase : ConfigurationService . getUriBase ( ) ,
21132113 username : AccountService . getUsername ( )
0 commit comments