mirror of
https://github.com/morten-olsen/morten-olsen.github.io.git
synced 2026-02-08 01:46:28 +01:00
fix: fix generated resource paths
This commit is contained in:
@@ -73,7 +73,7 @@ export class ArticleDB {
|
||||
pdfs: {
|
||||
a4: this.#assets.getPath(
|
||||
path.resolve('/', 'articles', id, 'a4.gen.yml'),
|
||||
)?.url || null,
|
||||
) || null,
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ export class ProfileDB {
|
||||
structure.resume = this.#assets.getPath(
|
||||
'profile',
|
||||
'a4.gen.yml',
|
||||
)?.url || null;
|
||||
) || null;
|
||||
return structure;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user