mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
Merge branch 'master' into setup_config_generation
This commit is contained in:
commit
7fbe3a2606
@ -71,15 +71,17 @@ export default defineConfig(({ command }) => {
|
||||
}),
|
||||
EnvironmentPlugin({
|
||||
BUILD_COMMIT: null,
|
||||
PORT: CONFIG.ADMIN_MODULE_PORT, // null,
|
||||
COMMUNITY_HOST: CONFIG.ADMIN_MODULE_HOST, // null,
|
||||
URL_PROTOCOL: CONFIG.ADMIN_MODULE_PROTOCOL, // null,
|
||||
WALLET_URL: CONFIG.WALLET_AUTH_URL, // null,
|
||||
GRAPHQL_URL: CONFIG.GRAPHQL_URI, // null,
|
||||
PORT: CONFIG.ADMIN_MODULE_PORT ?? null, // null,
|
||||
COMMUNITY_HOST: CONFIG.ADMIN_MODULE_HOST ?? null, // null,
|
||||
COMMUNITY_URL: CONFIG.COMMUNITY_URL ?? null,
|
||||
URL_PROTOCOL: CONFIG.ADMIN_MODULE_PROTOCOL ?? null, // null,
|
||||
WALLET_AUTH_URL: CONFIG.WALLET_AUTH_URL ?? null,
|
||||
GRAPHQL_URL: CONFIG.GRAPHQL_URI ?? null, // null,
|
||||
GRAPHQL_PATH: process.env.GRAPHQL_PATH ?? '/graphql', // null,
|
||||
WALLET_AUTH_PATH: CONFIG.WALLET_AUTH_URL, // null,
|
||||
WALLET_LOGIN_PATH: CONFIG.WALLET_LOGIN_URL, // null,
|
||||
DEBUG_DISABLE_AUTH: CONFIG.DEBUG_DISABLE_AUTH, // null,
|
||||
WALLET_AUTH_PATH: CONFIG.WALLET_AUTH_PATH ?? null,
|
||||
WALLET_LOGIN_PATH: CONFIG.WALLET_LOGIN_URL ?? null, // null,
|
||||
DEBUG_DISABLE_AUTH: CONFIG.DEBUG_DISABLE_AUTH ?? null, // null,
|
||||
// CONFIG_VERSION: CONFIG.CONFIG_VERSION, // null,
|
||||
}),
|
||||
commonjs(),
|
||||
],
|
||||
|
||||
@ -46,7 +46,7 @@ export const SecretKeyCryptographyCreateKey = (
|
||||
return encryptionKeyHash.readBigUInt64LE()
|
||||
}
|
||||
|
||||
if (CONFIG.USE_CRYPTO_WORKER) {
|
||||
if (CONFIG.USE_CRYPTO_WORKER === true && typeof process.send === 'function') {
|
||||
worker({
|
||||
SecretKeyCryptographyCreateKey,
|
||||
})
|
||||
|
||||
@ -23,7 +23,7 @@ const configLoginServerKey = Buffer.from(CONFIG.LOGIN_SERVER_KEY, 'hex')
|
||||
|
||||
let encryptionWorkerPool: Pool | undefined
|
||||
|
||||
if (CONFIG.USE_CRYPTO_WORKER) {
|
||||
if (CONFIG.USE_CRYPTO_WORKER === true) {
|
||||
encryptionWorkerPool = pool(
|
||||
path.join(__dirname, '..', '..', 'build', 'src', 'password', '/EncryptionWorker.js'),
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user