@@ -299,7 +314,7 @@
>Github page
Enable anonymized Github pages. It will be available
+ >Enable anonymized Github pages. It currently only suported for Github pages that are defined in the same branch. It will be available
at https://anonymous.4open.science/w/{{repoId}}
diff --git a/public/script/homeApp.js b/public/script/homeApp.js
index 1a6d357..0d0dcf6 100644
--- a/public/script/homeApp.js
+++ b/public/script/homeApp.js
@@ -247,6 +247,7 @@ angular
$scope.terms = res.data.terms.join("\n");
$scope.branch = res.data.branch;
$scope.options = res.data.options;
+ $scope.conference = res.data.conference;
$scope.options.expirationDate = new Date(
res.data.options.expirationDate
);
@@ -457,6 +458,7 @@ angular
options: $scope.options,
branch: $scope.branch,
commit: $scope.commit,
+ conference: $scope.conference,
};
}
function displayErrorMessage(message) {
diff --git a/routes/repositoy.js b/routes/repositoy.js
index 1c7e540..251c5f9 100644
--- a/routes/repositoy.js
+++ b/routes/repositoy.js
@@ -289,6 +289,7 @@ router.post("/", async (req, res) => {
owner: req.user.profile.username,
token: req.user.accessToken,
branch: repoConfig.branch,
+ conference: repoConfig.conference,
commit: repoConfig.commit
? repoConfig.commit
: details.branches[repoConfig.branch].commit.sha,