Skip to content

Commit

Permalink
Merge pull request #3229 from centerofci/make-client-dev-url-configur…
Browse files Browse the repository at this point in the history
…able-via-env

Make MATHESAR_CLIENT_DEV_URL configurable via .env
  • Loading branch information
dmos62 committed Oct 5, 2023
2 parents 6a1976b + 550ddaa commit 9773c11
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion config/settings/common_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,10 @@ def pipe_delim(pipe_string):
MATHESAR_MODE = decouple_config('MODE', default='PRODUCTION')
MATHESAR_UI_BUILD_LOCATION = os.path.join(BASE_DIR, 'mathesar/static/mathesar/')
MATHESAR_MANIFEST_LOCATION = os.path.join(MATHESAR_UI_BUILD_LOCATION, 'manifest.json')
MATHESAR_CLIENT_DEV_URL = 'http://localhost:3000'
MATHESAR_CLIENT_DEV_URL = decouple_config(
'MATHESAR_CLIENT_DEV_URL',
default='http://localhost:3000'
)
MATHESAR_UI_SOURCE_LOCATION = os.path.join(BASE_DIR, 'mathesar_ui/')
MATHESAR_CAPTURE_UNHANDLED_EXCEPTION = decouple_config('CAPTURE_UNHANDLED_EXCEPTION', default=False)
MATHESAR_STATIC_NON_CODE_FILES_LOCATION = os.path.join(BASE_DIR, 'mathesar/static/non-code/')
Expand Down

0 comments on commit 9773c11

Please sign in to comment.