mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 17:55:52 +01:00
server-esm: Change simple library import statements
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import assetPath from "../services/asset_path.js";
|
||||
import path = require('path');
|
||||
import express = require('express');
|
||||
import path from "path";
|
||||
import express from "express";
|
||||
import env from "../services/env.js";
|
||||
import serveStatic = require('serve-static');
|
||||
import serveStatic from "serve-static";
|
||||
|
||||
const persistentCacheStatic = (root: string, options?: serveStatic.ServeStaticOptions<express.Response<any, Record<string, any>>>) => {
|
||||
if (!env.isDev()) {
|
||||
|
||||
Reference in New Issue
Block a user