Compare commits
No commits in common. "b24a083d2e1457f88ab51ed73c97ce099777d9c5" and "36909c5d663ddf472c60b0048c84bbd352c6b15f" have entirely different histories.
b24a083d2e
...
36909c5d66
|
|
@ -4,9 +4,9 @@ import useDatabase from '~/composables/useDatabase';
|
|||
|
||||
export default defineSitemapEventHandler(() => {
|
||||
const db = useDatabase();
|
||||
const pages = db.select({ path: explorerContentTable.path, lastMod: explorerContentTable.timestamp, navigable: explorerContentTable.navigable, private: explorerContentTable.private, type: explorerContentTable.type }).from(explorerContentTable).all();
|
||||
const pages = db.select({ path: explorerContentTable.path, lastMod: explorerContentTable.timestamp, navigable: explorerContentTable.navigable, private: explorerContentTable.private }).from(explorerContentTable).all();
|
||||
|
||||
return pages.filter(e => e.type !== 'folder' && e.navigable && !e.private && e.path.split('/').map((_, i, a) => a.slice(0, i).join('/')).every(p => !pages.find(_p => _p.path === p)?.private)).map(e => ({
|
||||
return pages.filter(e => e.navigable && !e.private && e.path.split('/').map((_, i, a) => a.slice(0, i).join('/')).every(p => !pages.find(_p => _p.path === p)?.private)).map(e => ({
|
||||
loc: `/explore/${encodeURIComponent(e.path)}`,
|
||||
lastmod: e.lastMod,
|
||||
})) satisfies SitemapUrlInput[];
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ const transport = nodemailer.createTransport({
|
|||
pool: true,
|
||||
host: config.mail.host,
|
||||
port: config.mail.port,
|
||||
secure: true,
|
||||
secure: false,
|
||||
auth: {
|
||||
user: config.mail.user,
|
||||
pass: config.mail.passwd,
|
||||
|
|
|
|||
8
todo.md
8
todo.md
|
|
@ -1,8 +0,0 @@
|
|||
- [ ] Rename auto des liens au changement de path
|
||||
- [ ] Autocomplete des liens dans l'editeur
|
||||
- [ ] Editeur de graphe
|
||||
- [ ] Filtrage de lien avec le header id
|
||||
- [ ] Embed de lien (le ![[]] de Obsidian)
|
||||
- [ ] Rework la structure projet
|
||||
- [ ] Limite de taille par projet (100 Mo ?)
|
||||
- [ ] Création de projet (!!! limité à 1 par personne au début)
|
||||
Loading…
Reference in New Issue