@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.
- 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 +11 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/routes.cjs +9 -9
- package/dist/routes.js +1 -1
- package/package.json +1 -1
|
@@ -2595,7 +2595,7 @@ authRoutes.post("/register/form", async (c) => {
|
|
|
2595
2595
|
Account created successfully! Redirecting to admin dashboard...
|
|
2596
2596
|
<script>
|
|
2597
2597
|
setTimeout(() => {
|
|
2598
|
-
window.location.href = '/admin';
|
|
2598
|
+
window.location.href = '/admin/content';
|
|
2599
2599
|
}, 2000);
|
|
2600
2600
|
</script>
|
|
2601
2601
|
</div>
|
|
@@ -2663,7 +2663,7 @@ authRoutes.post("/login/form", async (c) => {
|
|
|
2663
2663
|
</div>
|
|
2664
2664
|
<script>
|
|
2665
2665
|
setTimeout(() => {
|
|
2666
|
-
window.location.href = '/admin';
|
|
2666
|
+
window.location.href = '/admin/content';
|
|
2667
2667
|
}, 2000);
|
|
2668
2668
|
</script>
|
|
2669
2669
|
</div>
|
|
@@ -2956,7 +2956,7 @@ authRoutes.post("/accept-invitation", async (c) => {
|
|
|
2956
2956
|
maxAge: 60 * 60 * 24
|
|
2957
2957
|
// 24 hours
|
|
2958
2958
|
});
|
|
2959
|
-
return c.redirect("/admin?welcome=true");
|
|
2959
|
+
return c.redirect("/admin/content?welcome=true");
|
|
2960
2960
|
} catch (error) {
|
|
2961
2961
|
console.error("Accept invitation error:", error);
|
|
2962
2962
|
return c.json({ error: "Failed to accept invitation" }, 500);
|
|
@@ -7022,5 +7022,5 @@ var ROUTES_INFO = {
|
|
|
7022
7022
|
};
|
|
7023
7023
|
|
|
7024
7024
|
export { ROUTES_INFO, admin_api_default, admin_content_default, api_content_crud_default, api_default, api_media_default, api_system_default, auth_default };
|
|
7025
|
-
//# sourceMappingURL=chunk-
|
|
7026
|
-
//# sourceMappingURL=chunk-
|
|
7025
|
+
//# sourceMappingURL=chunk-5RDID2QZ.js.map
|
|
7026
|
+
//# sourceMappingURL=chunk-5RDID2QZ.js.map
|