diff --git a/lib/routers/router_handler.dart b/lib/routers/router_handler.dart index 73cb369..470bf3e 100644 --- a/lib/routers/router_handler.dart +++ b/lib/routers/router_handler.dart @@ -63,7 +63,6 @@ var pbsettingGithubRepohandler = new Handler( handlerFunc: (BuildContext context, Map> params) { var path = params["path"]?.first; var prePath = params["prePath"]?.first; - print(prePath); return GithubRepoPage( path: (path == null || path == '') ? '/' : Uri.decodeComponent(path), prePath: (prePath == null || prePath == '') ? '' : Uri.decodeComponent(prePath), diff --git a/lib/views/pb_setting_page/github_page/github_repo_page_presenter.dart b/lib/views/pb_setting_page/github_page/github_repo_page_presenter.dart index 0525fc9..fabb894 100644 --- a/lib/views/pb_setting_page/github_page/github_repo_page_presenter.dart +++ b/lib/views/pb_setting_page/github_page/github_repo_page_presenter.dart @@ -30,7 +30,6 @@ class GithubRepoPagePresenter { } String realUrl = pathutil .joinAll(['repos', config.repositoryName, 'contents', prePath ?? '', path == '/' ? '' : path]); - print(realUrl); List result = await GithubNetUtils.get(realUrl, params: {"ref": config.branchName}); var data = result.map((e){ return GithubContent.fromJson(e);