.get(
'/',
basicAuth({
username: 'user',
password: 'lol',
}),
async (c) => {
return c.render(<Dashboard />);
},
)
.get('*', (c) => {
return c.render(
<div>
not found. <a href={url}>go to homepage</a>
</div>,
);
});
.get(
'/',
basicAuth({
username: 'user',
password: 'lol',
}),
async (c) => {
return c.render(<Dashboard />);
},
)
.get('*', (c) => {
return c.render(
<div>
not found. <a href={url}>go to homepage</a>
</div>,
);
});