Delete auth/file front variables (#4455)

This commit is contained in:
Félix Malfait
2024-03-19 22:19:40 +01:00
committed by GitHub
parent 4bfb90657f
commit b6e8bb1a6c
9 changed files with 10 additions and 36 deletions

View File

@ -229,14 +229,6 @@ resource "azurerm_container_app" "twenty_front" {
name = "REACT_APP_SERVER_BASE_URL"
value = "https://${azurerm_container_app.twenty_server.ingress[0].fqdn}"
}
env {
name = "REACT_APP_SERVER_AUTH_URL"
value = "https://${azurerm_container_app.twenty_server.ingress[0].fqdn}/auth"
}
env {
name = "REACT_APP_SERVER_FILES_URL"
value = "https://${azurerm_container_app.twenty_server.ingress[0].fqdn}/files"
}
}
}
}

View File

@ -59,8 +59,6 @@ services:
environment:
- SIGN_IN_PREFILLED=${SIGN_IN_PREFILLED}
- REACT_APP_SERVER_BASE_URL=${LOCAL_SERVER_URL}
- REACT_APP_SERVER_AUTH_URL=${LOCAL_SERVER_URL}/auth
- REACT_APP_SERVER_FILES_URL=${LOCAL_SERVER_URL}/files
depends_on:
- backend

View File

@ -23,8 +23,6 @@ import TabItem from '@theme/TabItem';
<OptionTable options={[
['REACT_APP_SERVER_BASE_URL', 'http://localhost:3000', 'Url of backend server'],
['REACT_APP_SERVER_AUTH_URL', 'http://localhost:3000/auth', 'Auth Url of backend server'],
['REACT_APP_SERVER_FILES_URL', 'http://localhost:3000/files', 'Files Url of backend server'],
['GENERATE_SOURCEMAP', 'false', 'Generate source maps for debugging'],
['CHROMATIC_PROJECT_TOKEN', '', 'Chromatic token used for CI'],
]}></OptionTable>