@unsetsoft/ryunixjs 1.2.5-canary.5 → 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.
@@ -1681,7 +1681,7 @@ const findRoute = (routes, path) => {
1681
1681
  const RouterProvider = ({ routes, children }) => {
1682
1682
  // SSR: Return server-safe version without hooks
1683
1683
  if (typeof window === 'undefined') {
1684
- const location = '/';
1684
+ const location = window.location.pathname;
1685
1685
  const currentRouteData = findRoute(routes, location) || {};
1686
1686
  const contextValue = {
1687
1687
  location,