Commit 1d3c102
authored
Remove hive_port
When using TheHive in a configuration that is not top-level (`https://IP/thehive/`), the current code does not work, as it concatenates `hive_host` & `hive_port` which creates `https://IP/thehive/:443`
This tweak removes the need to explicitly specify a port and instead specify only `hive_host`. A couple examples:
`hive_host: https://192.168.15.23:8080`
`hive_host: https://192.168.15.23/thehive/`
`hive_host: https://192.168.15.23:8080/thehive/`
This tweak should be considered a breaking change, as current users will need to update their `hive_connection` configuration if `hive_url` does not contain the required port.1 parent 3affdd7 commit 1d3c102
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2111 | 2111 | | |
2112 | 2112 | | |
2113 | 2113 | | |
2114 | | - | |
| 2114 | + | |
2115 | 2115 | | |
2116 | 2116 | | |
2117 | 2117 | | |
| |||
0 commit comments