fix import config for frontend

This commit is contained in:
einhornimmond 2025-05-06 11:39:54 +02:00
parent 106bdf019a
commit 7568f6ef9e
3 changed files with 5 additions and 5 deletions

View File

@ -2,7 +2,7 @@
// The whole contents is exposed to the client
// Load Package Details for some default values
const pkg = require('../../package')
import pkg from '../../package'
const constants = {
DECAY_START_TIME: new Date('2021-05-13 17:46:31-0000'), // GMT+0

View File

@ -1,11 +1,11 @@
const {
import {
APP_VERSION,
BUILD_COMMIT,
BUILD_COMMIT_SHORT,
COMMUNITY_DESCRIPTION,
COMMUNITY_LOCATION,
COMMUNITY_NAME,
COMMUNITY_SUPPORT_MAIL,
COMMUNITY_LOCATION,
COMMUNITY_URL,
DEBUG,
DECAY_START_TIME,
@ -14,8 +14,8 @@ const {
HUMHUB_ACTIVE,
NODE_ENV,
PRODUCTION,
} = require('config-schema')
const Joi = require('joi')
} from 'config-schema'
import Joi from 'joi'
// console.log(commonSchema)