image / src /utils /viewRenderer.js
hadadrjt's picture
image: Migrate to Node.js.
c34c995
raw
history blame
228 Bytes
//
// SPDX-FileCopyrightText: Hadad <hadad@linuxmail.org>
// SPDX-License-Identifier: Apache-2.0
//
import config from '../../config.js';
export const renderView = (res, data) => {
res.render(config.paths.mainView, data);
};