@sonicjs-cms/core 2.0.0-alpha.4 → 2.0.0-alpha.6

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.
@@ -2597,7 +2597,7 @@ authRoutes.post("/register/form", async (c) => {
2597
2597
  Account created successfully! Redirecting to admin dashboard...
2598
2598
  <script>
2599
2599
  setTimeout(() => {
2600
- window.location.href = '/admin';
2600
+ window.location.href = '/admin/content';
2601
2601
  }, 2000);
2602
2602
  </script>
2603
2603
  </div>
@@ -2665,7 +2665,7 @@ authRoutes.post("/login/form", async (c) => {
2665
2665
  </div>
2666
2666
  <script>
2667
2667
  setTimeout(() => {
2668
- window.location.href = '/admin';
2668
+ window.location.href = '/admin/content';
2669
2669
  }, 2000);
2670
2670
  </script>
2671
2671
  </div>
@@ -2958,7 +2958,7 @@ authRoutes.post("/accept-invitation", async (c) => {
2958
2958
  maxAge: 60 * 60 * 24
2959
2959
  // 24 hours
2960
2960
  });
2961
- return c.redirect("/admin?welcome=true");
2961
+ return c.redirect("/admin/content?welcome=true");
2962
2962
  } catch (error) {
2963
2963
  console.error("Accept invitation error:", error);
2964
2964
  return c.json({ error: "Failed to accept invitation" }, 500);
@@ -7031,5 +7031,5 @@ exports.api_default = api_default;
7031
7031
  exports.api_media_default = api_media_default;
7032
7032
  exports.api_system_default = api_system_default;
7033
7033
  exports.auth_default = auth_default;
7034
- //# sourceMappingURL=chunk-B5DU2UAN.cjs.map
7035
- //# sourceMappingURL=chunk-B5DU2UAN.cjs.map
7034
+ //# sourceMappingURL=chunk-KWFUNPSQ.cjs.map
7035
+ //# sourceMappingURL=chunk-KWFUNPSQ.cjs.map