Hello,

I've got this url:

https://knox.XXXX/gateway/default/logsearch/scripts/collections/SchemaFieldList.js?ver=build.version

*that contains this:*

return Backbone.Collection.extend({
    model: SchemaField,
url: 'static/schema_fields.json'
  });

*And I'd like to replace by:*

return Backbone.Collection.extend({
    model: SchemaField,
url: '*logsearch*/static/schema_fields.json'
  });

because at the moment, I've got a 404. The url called by the browser is
this one:
https://knox.XXXX/gateway/default/static/schema_fields.json

What is the best way to handle this rewriting ?

Thanks in advance
David

Reply via email to