mirror of
https://codeberg.org/likwid/likwid.git
synced 2026-02-09 13:03:10 +00:00
demo: enforce gated demo via server output
This commit is contained in:
parent
3b091653f2
commit
f5b53ec092
2 changed files with 3 additions and 2 deletions
|
|
@ -4,6 +4,7 @@ import node from '@astrojs/node';
|
|||
|
||||
// https://astro.build/config
|
||||
export default defineConfig({
|
||||
output: 'server',
|
||||
adapter: node({ mode: 'standalone' }),
|
||||
vite: {
|
||||
server: {
|
||||
|
|
|
|||
|
|
@ -125,8 +125,8 @@ const defaultTheme = DEFAULT_THEME;
|
|||
<h4>Platform</h4>
|
||||
<ul>
|
||||
<li><a href="/demo">Demo Instance</a></li>
|
||||
<li><a href="/login">Sign In</a></li>
|
||||
<li><a href="/register">Create Account</a></li>
|
||||
{!publicDemoSite ? <li><a href="/login">Sign In</a></li> : null}
|
||||
{!publicDemoSite ? <li><a href="/register">Create Account</a></li> : null}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue