@unsetsoft/ryunixjs 1.2.5-canary.6 → 1.2.5-canary.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1687,7 +1687,7 @@
1687
1687
  const RouterProvider = ({ routes, children }) => {
1688
1688
  // SSR: Return server-safe version without hooks
1689
1689
  if (typeof window === 'undefined') {
1690
- const location = '/';
1690
+ const location = window.location.pathname;
1691
1691
  const currentRouteData = findRoute(routes, location) || {};
1692
1692
  const contextValue = {
1693
1693
  location,