mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 20:49:01 +01:00
Fix code example in readme.
This commit is contained in:
parent
55856617d2
commit
fb8b4854ae
@ -20,6 +20,7 @@ From the `express-file-server` example:
|
||||
|
||||
1. Implement a `ContentProvider` function which prepares and returns a `Content` object:
|
||||
|
||||
import { promisify } from "util";
|
||||
import fs from "fs";
|
||||
import { Range, ContentDoesNotExistError, ContentProvider } from "express-partial-content";
|
||||
import {logger} from "./logger";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user