#67 Use hash instead of querystring to pass config url to index.html

Closed
opened 8 years ago by nero · 0 comments

Originally at 2015-05-30T12:09:19Z by Herbert Vojčík closed at 2015-07-06T18:36:48Z

The index.html of Helios needs to know where to find config.js so it can configure itself and load the packages as configured in the developed app. To pass this url, query string is used; though to pass data of this kind to pages local without data roundtrip to server, hash is much more appropriate. Query string can also fool naive hosting solutions, while hash does not (as it is not sent in a HTTP request).

The code that appends the data as a query string is in index.js.

Originally at 2015-05-30T12:09:19Z by Herbert Vojčík closed at 2015-07-06T18:36:48Z The `index.html` of Helios needs to know where to find config.js so it can configure itself and load the packages as configured in the developed app. To pass this url, query string is used; though to pass data of this kind to pages local without data roundtrip to server, hash is much more appropriate. Query string can also fool naive hosting solutions, while hash does not (as it is not sent in a HTTP request). The code that appends the data as a query string is in `index.js`.
Sign in to join this conversation.
No Label
No Milestone
No assignee
1 Participants
Loading...
Cancel
Save
There is no content yet.