mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
use .js extension for require() as a preparation for future migration to ESM
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
const assetPath = require("../services/asset_path");
|
||||
const assetPath = require('../services/asset_path.js');
|
||||
const path = require("path");
|
||||
const express = require("express");
|
||||
const env = require("../services/env");
|
||||
const env = require('../services/env.js');
|
||||
|
||||
const persistentCacheStatic = (root, options) => {
|
||||
if (!env.isDev()) {
|
||||
|
||||
Reference in New Issue
Block a user