Skip to content
This repository was archived by the owner on Oct 6, 2022. It is now read-only.

Commit

Permalink
Fix download page display
Browse files Browse the repository at this point in the history
  • Loading branch information
mdcfe committed Jun 18, 2019
1 parent bb4445a commit e19885a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion main.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
const mainCI = "https://ci.ender.zone/job/EssentialsX/";
const mirrorCI = "https://ci.akpmakes.tech/job/EssentialsX/";
const corsAnywhere = "https://cors-anywhere.herokuapp.com/";

axios.defaults.baseURL = mirrorCI; // ender.zone doesn't allow CORS
axios.defaults.baseURL = corsAnywhere + mainCI;

//const landing = window.landing;
//const dlPage = window.dlPage;
Expand Down
7 changes: 5 additions & 2 deletions vue-dlpage.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ const DownloadPage = {
<p v-if="buildNo">The latest version of EssentialsX is <b>{{build}}</b>.</p>
<p v-if="failed" class="warning">
Could not retrieve information about the latest version.
Click <a href="https://ci.ender.zone/job/EssentialsX">here</a> to visit the build server.
Click <a href="https://ci.ender.zone/job/EssentialsX">here</a> to view builds on Jenkins.
</p>
<p class="tip">
Not sure what the different jars do? See the <a href="http://wiki.mc-ess.net/wiki/Breakdown">breakdown page</a>.
</p>
<table v-if="buildNo">
<tr>
Expand Down Expand Up @@ -62,4 +65,4 @@ const DownloadPage = {
}
};

window.DownloadPage = DownloadPage;
window.DownloadPage = DownloadPage;

0 comments on commit e19885a

Please sign in to comment.