@social-mail/social-mail-client 1.2.207 → 1.2.209
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/tsconfig.tsbuildinfo +1 -1
- package/dist/web/AppIndex.d.ts.map +1 -1
- package/dist/web/AppIndex.js +8 -2
- package/dist/web/AppIndex.js.map +1 -1
- package/dist/web/AppIndex.pack.js +8 -2
- package/dist/web/AppIndex.pack.js.map +1 -1
- package/dist/web/AppIndex.pack.min.js +1 -1
- package/dist/web/AppIndex.pack.min.js.map +1 -1
- package/package.json +1 -1
- package/src/web/AppIndex.tsx +5 -0
package/package.json
CHANGED
package/src/web/AppIndex.tsx
CHANGED
|
@@ -18,6 +18,7 @@ import WebPushService from "../services/WebPushService";
|
|
|
18
18
|
import SetupMultiFactorPage from "../common/pages/user/multi-factor/SetupMultiFactorPage";
|
|
19
19
|
import { apiPath } from "../common/apiPath";
|
|
20
20
|
import SocialMailApp from "../common/SocialMailApp";
|
|
21
|
+
import SignupPage from "./page/users/SignupPage";
|
|
21
22
|
|
|
22
23
|
(Symbol as any).asyncDispose ??= Symbol("asyncDispose");
|
|
23
24
|
(Symbol as any).dispose ??= Symbol("dispose");
|
|
@@ -40,6 +41,10 @@ export default class AppIndex extends MobileDesktopApp {
|
|
|
40
41
|
if (SocialMailApp.config.externalLogin) {
|
|
41
42
|
location.href = SocialMailApp.config.externalLogin;
|
|
42
43
|
}
|
|
44
|
+
if (/\/signup$/i.test(location.href) || /\/signup\//i.test(location.href)) {
|
|
45
|
+
PageNavigator.openPage(SignupPage);
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
43
48
|
PageNavigator.openPage(LoginPage);
|
|
44
49
|
return;
|
|
45
50
|
}
|