mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-11 00:21:42 +08: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