Make the API publicly accessible (closes #25)
This commit is contained in:
parent
e98584d648
commit
177a7bb637
2 changed files with 6 additions and 3 deletions
|
|
@ -5,7 +5,7 @@ import { ArtistBrowser } from "./apps/ArtistBrowser.mjs";
|
|||
import { ImageApp } from "./apps/ImageApp.mjs";
|
||||
|
||||
// Utils
|
||||
import { getFile, hashFile, lastModifiedAt, uploadJson } from "./utils/fs.mjs";
|
||||
import { getFileSize, hashFile, lastModifiedAt } from "./utils/fs.mjs";
|
||||
|
||||
const { deepFreeze } = foundry.utils;
|
||||
|
||||
|
|
@ -20,8 +20,7 @@ export const api = deepFreeze({
|
|||
fs: {
|
||||
hashFile,
|
||||
lastModifiedAt,
|
||||
getFile,
|
||||
uploadJson,
|
||||
getFileSize,
|
||||
},
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue