我在我的 MacBook Pro OS X Yosemite 上集成了 p4merge 和 git。
它适用于一个问题。当 difftool 或 mergetool 打开 p4merge 并且我完成了我的任务时,我倾向于点击红色的 X 来关闭我的窗口。但是,这不会退出应用程序,只会退出该文件的特定窗口的窗口。这会挂起 mergetool 或 difftool 会话,阻止处理下一个文件,直到我转到 p4merge 菜单栏并选择“退出 P4Merge”(或 command-Q)。
是否可以将 p4merge 配置为在窗口关闭时完全退出?
Spring Boot 的执行器基础端点返回 json 和所有启用端点的 href 链接。这些链接都默认为 localhost:8080,但我使用主机名(例如 machine.mydomain.com)进行了身份验证。
如何获取链接以使用https://machine.mydomain.com而不是http://localhost:8090填充?
我访问https://machine.mydomain.com/actuator时执行器的输出示例
/ 20181012150557
// https://machine.mydomain.com/actuator
{
"_links": {
"self": {
"href": "http://localhost:8090/actuator",
"templated": false
},
"beans": {
"href": "http://localhost:8090/actuator/beans",
"templated": false
},
"health": {
"href": "http://localhost:8090/actuator/health",
"templated": false
}
}
Run Code Online (Sandbox Code Playgroud)
我想要的是 / 20181012150557 // https://machine.mydomain.com/actuator
{
"_links": {
"self": {
"href": "https://machine.mydomain.com/actuator",
"templated": false
},
"beans": {
"href": "https://machine.mydomain.com/actuator/beans",
"templated": false
},
"health": {
"href": "https://machine.mydomain.com/actuator/health",
"templated": false
}
}
Run Code Online (Sandbox Code Playgroud)