Commit Graph

11 Commits

Author SHA1 Message Date
Claudio Yanes
a1c6b89740 Fix fetchData
The fetchData function suffer from a race condition. If the function is
called before the promise finishes, it will result in another pair of
HTTP request. This does not only make the function useless but
Actually, it makes it harmful as the data might be redownloaded twice.

Now fetchData is not a function but rather the promise by itself.
Previous callers are expected to await the variable instead, this
should be not concern as awaiting a promise multiple time in
JavaScript is completely safe.
2022-03-04 02:25:30 +00:00
Jacky Zhao
4b257252ac fix backlinks not using baseurl 2022-02-28 08:24:29 -08:00
Jacky Zhao
fdf1d9bbe3 feat: dynamically fetch indices 2022-02-15 19:39:14 -05:00
Jacky Zhao
6b5baa4f61 dedupe backlinks 2021-12-27 13:15:10 -05:00
Jacky Zhao
cca56fbd2b fix relative link styling, change graph and backlinks to refer to name rather than path 2021-12-23 14:05:27 -08:00
Blake Allen
c457f0af60 remove unnecessary regex, use encodeuri for label instead of replace 2021-10-26 16:58:08 -07:00
Blake Allen
a50c87d1cd fix accidental code 2021-10-22 18:56:26 -07:00
Blake Allen
c942c5e09d fix for notes with spaces not linking properly 2021-10-22 14:04:09 -07:00
jackyzha0
9b427faa93 backlinks fix 2021-08-12 09:29:35 -04:00
jackyzha0
6896cb007b proper backlink and graph display in footer 2021-07-18 13:02:53 -04:00
jackyzha0
c01138a81c add base structure 2021-07-18 09:35:42 -04:00