移除webpage制定的url

This commit is contained in:
CounterFire2023 2023-09-11 10:22:26 +08:00
parent 4b3294c129
commit 58e3d0f9b8

View File

@ -68,7 +68,7 @@ public class WebPageActivity extends Activity {
Intent intent = getIntent(); Intent intent = getIntent();
String url = intent.getStringExtra("url"); String url = intent.getStringExtra("url");
// url = String.format("http://192.168.100.184/be/game.html?t=%d", System.currentTimeMillis()); // url = String.format("http://192.168.100.184/be/game.html?t=%d", System.currentTimeMillis());
url = String.format("http://192.168.1.16/be/game.html?t=%d", System.currentTimeMillis()); // url = String.format("http://192.168.1.16/be/game.html?t=%d", System.currentTimeMillis());
// show web view // show web view
mWebView.loadUrl(url); mWebView.loadUrl(url);
mWebView.addJavascriptInterface(new WalletInterface(this), "cfwallet_JuEd8Ql5over8kneww"); mWebView.addJavascriptInterface(new WalletInterface(this), "cfwallet_JuEd8Ql5over8kneww");