We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 038a270 commit 1c5ee75Copy full SHA for 1c5ee75
src/main/java/io/supertokens/storage/postgresql/config/PostgreSQLConfig.java
@@ -23,6 +23,7 @@
23
import com.google.gson.GsonBuilder;
24
import com.google.gson.JsonElement;
25
import com.google.gson.JsonObject;
26
+
27
import io.supertokens.pluginInterface.ConfigFieldInfo;
28
import io.supertokens.pluginInterface.exceptions.InvalidConfigException;
29
import io.supertokens.storage.postgresql.Start;
@@ -650,7 +651,7 @@ private void validateAndNormalise(boolean skipValidation) throws InvalidConfigEx
650
651
652
{ // postgresql_port
653
if (postgresql_port < 0) {
- postgresql_port = 5432;
654
+ postgresql_port = Integer.parseInt(System.getProperty("ST_PLUGIN_SERVER_PORT", "5432"));
655
}
656
657
0 commit comments