Skip to content

Commit 3f7be38

Browse files
committed
fix(app): format footer links and add SSR configuration [hidden]
- Adjust footer links' HTML formatting for better readability - Set ssr to true and prerender to false in app component - Disable static site generation globally in routes configuration file (+config.ts)
1 parent e25e3d5 commit 3f7be38

File tree

2 files changed

+18
-2
lines changed

2 files changed

+18
-2
lines changed

web/src/app/app.ts

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,18 @@ import { AuthService } from './services/auth.service';
4141
<li>Copyright © 2025 MyDashboard. Licensed under MIT.</li>
4242
</ul>
4343
<ul>
44-
<li><a target="_blank" href="https://github.com/site15/my-dashboard/tree/main/web">Source code</a></li>
45-
<li><a target="_blank" href="https://t.me/site15_community">Telegram group</a></li>
44+
<li>
45+
<a
46+
target="_blank"
47+
href="https://github.com/site15/my-dashboard/tree/main/web"
48+
>Source code</a
49+
>
50+
</li>
51+
<li>
52+
<a target="_blank" href="https://t.me/site15_community"
53+
>Telegram group</a
54+
>
55+
</li>
4656
</ul>
4757
</nav>
4858
</footer>`,
@@ -62,3 +72,6 @@ export class AppComponent {
6272
.subscribe();
6373
}
6474
}
75+
76+
export const ssr = true;
77+
export const prerender = false;

web/src/app/pages/+config.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default {
2+
prerender: false, // отключает SSG для всех роутов
3+
};

0 commit comments

Comments
 (0)