mirror of
https://github.com/hcengineering/platform.git
synced 2026-08-22 04:12:23 +02:00
@@ -0,0 +1,3 @@
|
||||
|
||||
|
||||
APP_ACCOUNTS_URL=https://ftwm71rwag.execute-api.us-west-2.amazonaws.com/stage/
|
||||
@@ -36,8 +36,10 @@ import { setMetadata } from '@anticrm/platform'
|
||||
|
||||
export function configurePlatform() {
|
||||
|
||||
console.log(process.env.APP_ACCOUNTS_URL)
|
||||
|
||||
// setMetadata(login.metadata.AccountsUrl, 'https://ftwm71rwag.execute-api.us-west-2.amazonaws.com/stage/')
|
||||
setMetadata(login.metadata.AccountsUrl, '/api')
|
||||
setMetadata(login.metadata.AccountsUrl, process.env.APP_ACCOUNTS_URL)
|
||||
|
||||
// if (process.env.CLIENT === 'dev')
|
||||
addLocation(clientId, () => import(/* webpackChunkName: "client-dev" */ '@anticrm/dev-client-resources'))
|
||||
|
||||
@@ -152,7 +152,7 @@ module.exports = {
|
||||
new MiniCssExtractPlugin({
|
||||
filename: '[name].css'
|
||||
}),
|
||||
new Dotenv()
|
||||
new Dotenv({path: prod ? '.env-prod' : '.env'})
|
||||
],
|
||||
devtool: prod ? false : 'source-map',
|
||||
devServer: {
|
||||
|
||||
Reference in New Issue
Block a user