Skip to content

[explorer] add EXPLORER_CODE_SNIPPETS_DB_PATH env var to config#735

Merged
ukorvl merged 1 commit intomainfrom
add-explorer-db-env-var-to-config
Apr 3, 2025
Merged

[explorer] add EXPLORER_CODE_SNIPPETS_DB_PATH env var to config#735
ukorvl merged 1 commit intomainfrom
add-explorer-db-env-var-to-config

Conversation

@ukorvl
Copy link
Copy Markdown
Contributor

@ukorvl ukorvl commented Apr 2, 2025

This diff adds EXPLORER_DB (after renaming EXPLORER_CODE_SNIPPETS_DB_PATH) to the config so we can correctly use it. Outside the config which imports import "dotenv/config"; we can not simply read env variables like process.env.EXPLORER_DB

This is needed to use bundled backend version on deployment host.

@ukorvl ukorvl added the explorer Related to explorer interface label Apr 2, 2025
@ukorvl ukorvl self-assigned this Apr 2, 2025
@ukorvl ukorvl requested a review from KlonD90 as a code owner April 2, 2025 16:44
@ukorvl ukorvl requested a review from knazarov April 2, 2025 16:52
@ukorvl ukorvl added this pull request to the merge queue Apr 3, 2025
Merged via the queue into main with commit 054959b Apr 3, 2025
15 checks passed
@ukorvl ukorvl deleted the add-explorer-db-env-var-to-config branch April 3, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

explorer Related to explorer interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants