Skip to content

Commit

Permalink
Merge pull request #4248 from GeoNode/ISSUE_4247
Browse files Browse the repository at this point in the history
[Fixes #4247] 404 error on CSV upload
  • Loading branch information
Alessio Fabiani authored Feb 21, 2019
2 parents 125aac0 + 68c59de commit d9e8d7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geonode/static/geonode/js/upload/csv.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ define(['underscore',
// Re-use the LayerInfo object to asynchronously save the new csv and present the progress to the user.
var lyr = new LayerInfo({element:$("#csv-status"), name:"file", type:'csv', files:{csv:{name:'file.csv'}}});
var params = common.parseQueryString(document.location.search);
var url = 'upload/csv'
var url = siteUrl + 'upload/csv'
if ('id' in params){
lyr.id = params.id;
url = updateUrl(url, 'id', params.id);
Expand Down

0 comments on commit d9e8d7a

Please sign in to comment.