tastott / jsoql

A SQL-like language for querying JSON data
http://tastott.github.io/jsoql
3 stars 1 forks source link

Allow relative URLs in browser mode #50

Closed tastott closed 9 years ago

tastott commented 9 years ago

This can use the normal HTTP datasource because there is no CORS issue. There should be some character in the url to indicate that the path is relative to the current domain. I'm leaning towards tilde (~) as it's used that way in ASP.NET and it's a bit easier to spot than adding another /. E.g. http://~/Data/blah.json