mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
fix import config for frontend
This commit is contained in:
parent
106bdf019a
commit
7568f6ef9e
@ -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
|
||||
|
||||
@ -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)
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user