spine-framework 0.3.103 → 0.3.104

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.
@@ -40,8 +40,15 @@ function App() {
40
40
  <Route path="/register" element={<RegisterPage />} />
41
41
  <Route path="/forgot-password" element={<ForgotPasswordPage />} />
42
42
  <Route path="/auth/confirm" element={<AuthConfirmPage />} />
43
- {/* / shows setup instructions when no user is logged in */}
44
- <Route path="/" element={<SetupPage />} />
43
+ {/* / shows setup instructions only when VITE_SETUP_MODE=true */}
44
+ <Route
45
+ path="/"
46
+ element={
47
+ import.meta.env.VITE_SETUP_MODE === 'true'
48
+ ? <SetupPage />
49
+ : <Navigate to="/login" replace />
50
+ }
51
+ />
45
52
  <Route path="*" element={<Navigate to="/login" replace />} />
46
53
  </Routes>
47
54
  ) : user.status === 'pending' ? (
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spine-framework",
3
- "version": "0.3.103",
3
+ "version": "0.3.104",
4
4
  "description": "Multi-tenant, modular application platform for modern SaaS systems",
5
5
  "type": "module",
6
6
  "bin": {