Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove quotes around HOCON substitutions #1133

Merged
merged 1 commit into from
Jun 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ maproulette {
# Do not use the default value in production, generate a new key and set it via conf or 'MAPROULETTE_SECRET_KEY' env.
# A secure way to get a distinct key is to run 'openssl rand -base64 32' and set the output as the secret key.
secret.key = "%APPLICATION_SECRET%"
secret.key = "${?MAPROULETTE_SECRET_KEY}"
secret.key = ${?MAPROULETTE_SECRET_KEY}

# redirect for OSM
frontend="http://127.0.0.1:3000"
Expand Down
4 changes: 2 additions & 2 deletions conf/dev.conf.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include "application.conf"
# A secure way to get a distinct key is to run 'openssl rand -base64 32' and set the output as the secret key.
# Play 2.9 requires a key of at least 32 characters https://github.com/maproulette/maproulette-backend/issues/1117
play.http.secret.key = "DEVLOCAL_1z8rvducX6AaMTXQl4olw71YHj3MCFpRXXTB73TNnTc="
play.http.secret.key = "${?APPLICATION_SECRET}"
play.http.secret.key = ${?APPLICATION_SECRET}

db.default {
url="jdbc:postgresql://localhost:5432/mp_dev"
Expand All @@ -26,7 +26,7 @@ maproulette {
# Do not use the default value in production, generate a new key and set it via conf or 'MAPROULETTE_SECRET_KEY' env.
# A secure way to get a distinct key is to run 'openssl rand -base64 32' and set the output as the secret key.
secret.key = "DEVLOCAL_Jw8W2PMl434eL85+IRvoT7DA+eNR9a9N3ZK2Gfx4ecs="
secret.key = "${?MAPROULETTE_SECRET_KEY}"
secret.key = ${?MAPROULETTE_SECRET_KEY}

scheduler {
startTimeJitterForMinuteTasks = "15 seconds"
Expand Down