From a4c312d64ae3621533af112989a6507690680156 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8A=A0=E9=87=8C?= Date: Mon, 8 Dec 2014 17:24:02 +0800 Subject: [PATCH] update ui --- README.md | 7 +++---- proxy.js | 4 ++-- web/css/page.css | 4 ++++ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 08b2cc7..1efe531 100644 --- a/README.md +++ b/README.md @@ -70,10 +70,9 @@ After configuring rootCA, anyproxy could help to decrypt https requests, whose a * using ``openssl version -a `` to make sure it is accessible via you command line. #### step 2 - generate a rootCA and trust it -* you should do this when it is the first time to start anyproxy -* execute ``sudo anyproxy --root`` ,follow the instructions on screen -* [important!]you will see some tip like *rootCA generated at : ~/.anyproxy_certs... . ``cd`` to that directory, add/trust the rootCA.crt file to your system keychain. In OSX, you may do that by open the .crt file directly -* when debug https requests, you have to trust this rootCA on all of your clients. +* execute ``sudo anyproxy --root`` +* start anyproxy by ``anyproxy``, fetch rootCA.crt via http://localhost:8002/fetchCrtFile, then open and trust it. +* you should trust this rootCA on all of your clients. #### to intercept(decrypt) https requests * start your anyproxy as normal. When rootCA is generated, it will intercept all the https requests for you automatically. diff --git a/proxy.js b/proxy.js index 35381f3..4749a4c 100644 --- a/proxy.js +++ b/proxy.js @@ -182,8 +182,8 @@ function proxyServer(option){ }); var tipText,webUrl; - webUrl = "http://" + ip.address() + ":" + proxyWebPort +"/"; - tipText = "GUI interface started at : " + webUrl; + webUrl = "http://" + ip.address() + ":" + proxyWebPort +"/"; + tipText = "GUI interface started at : " + webUrl + "\n"; console.log(color.green(tipText)); // tipText = "[alpha]qr code to for iOS client: " + webUrl + "qr"; diff --git a/web/css/page.css b/web/css/page.css index 63aebcd..2a79127 100644 --- a/web/css/page.css +++ b/web/css/page.css @@ -7,6 +7,10 @@ url('iconfont.svg#uxiconfont') format('svg'); /* iOS 4.1- */ } +body{ + min-width: 1090px; +} + .iconfont{ font-family:"iconfont" !important; font-size:16px;font-style:normal;