@sonicjs-cms/core 2.0.0-alpha.4 → 2.0.0-alpha.5
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.
- package/dist/{chunk-5XKH6PBR.js → chunk-5RDID2QZ.js} +5 -5
- package/dist/{chunk-5XKH6PBR.js.map → chunk-5RDID2QZ.js.map} +1 -1
- package/dist/{chunk-B5DU2UAN.cjs → chunk-KWFUNPSQ.cjs} +5 -5
- package/dist/{chunk-B5DU2UAN.cjs.map → chunk-KWFUNPSQ.cjs.map} +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.js +2 -2
- package/dist/routes.cjs +9 -9
- package/dist/routes.js +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
7035
|
-
//# sourceMappingURL=chunk-
|
|
7034
|
+
//# sourceMappingURL=chunk-KWFUNPSQ.cjs.map
|
|
7035
|
+
//# sourceMappingURL=chunk-KWFUNPSQ.cjs.map
|