mirror of
https://github.com/zadam/trilium.git
synced 2026-05-07 13:26:50 +02:00
Fix code example in readme.
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user