This makes the URL much cleaner, but also requires the server to reroute any URL requests to the root index.html. (e.g. http://example.com/project/pro1 would normally try to load example.com/project/pro1/index.html, but we want it to load example.com/index.html, and have the backbone router take over)
I'm following this tutorial to configure the url, but ran into some issues with my server provider. Will update once that gets solved and test successful.
Afterwards this configuration should go into readme.md
Backbone.history.start({pushState:true});
( Template/src/javascript/app.js#L37 ) would use pushState instead of hash changes.This makes the URL much cleaner, but also requires the server to reroute any URL requests to the root index.html. (e.g. http://example.com/project/pro1 would normally try to load example.com/project/pro1/index.html, but we want it to load example.com/index.html, and have the backbone router take over)
I'm following this tutorial to configure the url, but ran into some issues with my server provider. Will update once that gets solved and test successful.
Afterwards this configuration should go into readme.md