Kodi Community Forum
Browser history API fallback? - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Web Interfaces (https://forum.kodi.tv/forumdisplay.php?fid=156)
+---- Thread: Browser history API fallback? (/showthread.php?tid=283473)



Browser history API fallback? - DanielRA - 2016-07-22

Hi, I'm trying to write a SPA for controlling Kodi with React, and now I was trying to get the routing done. I would prefer to use "browserHistory" instead of "hashHistory", becouse the URL are much cleaner. But for that I need to redirect all trafic into the root page if not found, but I don't know if I can modify Kodi's routes.

Does anyone of you guys know if this is possible? Thanks!