client: Fix regression (front end no longer loading)

This commit is contained in:
Elian Doran 2024-07-16 18:33:39 +03:00
parent eff6ca3365
commit 66108c1067
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
const utils = require("./utils.js"); import utils from "./utils.js";
function lex(str) { function lex(str) {
str = str.trim(); str = str.trim();
@ -222,7 +222,7 @@ function lexAndParse(str, allowEmptyRelations = false) {
return parse(tokens, str, allowEmptyRelations); return parse(tokens, str, allowEmptyRelations);
} }
module.exports = { export default {
lex, lex,
parse, parse,
lexAndParse lexAndParse

View File

@ -505,7 +505,7 @@ function createImageSrcUrl(note) {
return `api/images/${note.noteId}/${encodeURIComponent(note.title)}?timestamp=${Date.now()}`; return `api/images/${note.noteId}/${encodeURIComponent(note.title)}?timestamp=${Date.now()}`;
} }
module.exports = { export default {
reloadFrontendApp, reloadFrontendApp,
parseDate, parseDate,
formatDateISO, formatDateISO,