Rename server.address to my-server.address across properties files and LoginController for consistency and clarity.
This commit is contained in:
parent
871615702b
commit
3f76a98409
|
|
@ -36,7 +36,7 @@ public class LoginController implements LoginApi {
|
||||||
@Value("${login.secret:#{null}}")
|
@Value("${login.secret:#{null}}")
|
||||||
private String loginSecret;
|
private String loginSecret;
|
||||||
|
|
||||||
@Value("${server.address:#{null}}")
|
@Value("${my-server.address:#{null}}")
|
||||||
private String serverAddress;
|
private String serverAddress;
|
||||||
|
|
||||||
private record CacheEntry(UUID uuid, Instant expiry) {}
|
private record CacheEntry(UUID uuid, Instant expiry) {}
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,5 @@ database.host=${DB_HOST:localhost}
|
||||||
database.user=${DB_USER:root}
|
database.user=${DB_USER:root}
|
||||||
database.password=${DB_PASSWORD:root}
|
database.password=${DB_PASSWORD:root}
|
||||||
cors.allowed-origins=${CORS:https://beta.alttd.com}
|
cors.allowed-origins=${CORS:https://beta.alttd.com}
|
||||||
server.address=${SERVER_ADDRESS:https://beta.alttd.com}
|
my-server.address=${SERVER_ADDRESS:https://beta.alttd.com}
|
||||||
logging.level.com.alttd.altitudeweb=DEBUG
|
logging.level.com.alttd.altitudeweb=DEBUG
|
||||||
|
|
|
||||||
|
|
@ -5,5 +5,5 @@ database.host=${DB_HOST:localhost}
|
||||||
database.user=${DB_USER:root}
|
database.user=${DB_USER:root}
|
||||||
database.password=${DB_PASSWORD:root}
|
database.password=${DB_PASSWORD:root}
|
||||||
cors.allowed-origins=${CORS:http://localhost:4200}
|
cors.allowed-origins=${CORS:http://localhost:4200}
|
||||||
server.address=${SERVER_ADDRESS:http://localhost}
|
my-server.address=${SERVER_ADDRESS:http://localhost}
|
||||||
logging.level.com.alttd.altitudeweb=DEBUG
|
logging.level.com.alttd.altitudeweb=DEBUG
|
||||||
|
|
|
||||||
|
|
@ -8,5 +8,5 @@ cors.allowed-origins=${CORS:https://alttd.com}
|
||||||
login.secret=${LOGIN_SECRET:SET_TOKEN}
|
login.secret=${LOGIN_SECRET:SET_TOKEN}
|
||||||
particles.file_path=${user.home}/.altitudeweb/particles
|
particles.file_path=${user.home}/.altitudeweb/particles
|
||||||
notification.server.url=${SERVER_IP:10.0.0.107}:${SERVER_PORT:8080}
|
notification.server.url=${SERVER_IP:10.0.0.107}:${SERVER_PORT:8080}
|
||||||
server.address=${SERVER_ADDRESS:https://alttd.com}
|
my-server.address=${SERVER_ADDRESS:https://alttd.com}
|
||||||
logging.level.com.alttd.altitudeweb=INFO
|
logging.level.com.alttd.altitudeweb=INFO
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user