Skip to content

Commit

Permalink
Merge pull request #249 from FederatedAI/feature-fix-master-ip
Browse files Browse the repository at this point in the history
fix ip
  • Loading branch information
dylan-fan authored Dec 17, 2024
2 parents b361328 + b9a36c5 commit 480406c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions fate-serving-admin-ui/vue.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,14 @@ module.exports = {
disableHostCheck: true,
open: process.platform === 'darwin',
// host: 'localhost',
host: '10.36.17.37',
host: '127.0.0.1',
port: 8010,
https: false,
hotOnly: false,
// eslint-disable-next-line no-dupe-keys
proxy: {
'/api': {
// target: 'http://172.16.153.168:8350',
target: 'http://172.16.153.227:8350/',
target: 'http://127.0.0.1:8350/',
changeOrigin: true,
pathRewrite: {
'^/api': '/api'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static String pbToJson(MessageOrBuilder message){


public static void main(String[] args) {
String s = JsonUtil.formatJson("{\"route_table\":{\"default\":{\"default\":[{\"ip\":\"127.0.0.1\",\"port\":9999,\"useSSL\":false}]},\"10000\":{\"default\":[{\"ip\":\"127.0.0.1\",\"port\":8889}],\"serving\":[{\"ip\":\"127.0.0.1\",\"port\":8080}]},\"123\":[{\"host\":\"10.35.27.23\",\"port\":8888,\"useSSL\":false,\"negotiationType\":\"\",\"certChainFile\":\"\",\"privateKeyFile\":\"\",\"caFile\":\"\"}]},\"permission\":{\"default_allow\":true}}");
String s = JsonUtil.formatJson("{\"route_table\":{\"default\":{\"default\":[{\"ip\":\"127.0.0.1\",\"port\":9999,\"useSSL\":false}]},\"10000\":{\"default\":[{\"ip\":\"127.0.0.1\",\"port\":8889}],\"serving\":[{\"ip\":\"127.0.0.1\",\"port\":8080}]},\"123\":[{\"host\":\"127.0.0.1\",\"port\":8888,\"useSSL\":false,\"negotiationType\":\"\",\"certChainFile\":\"\",\"privateKeyFile\":\"\",\"caFile\":\"\"}]},\"permission\":{\"default_allow\":true}}");
System.out.println(s);

}
Expand Down

0 comments on commit 480406c

Please sign in to comment.