Skip to content

Commit

Permalink
Move product assets to AWS S3
Browse files Browse the repository at this point in the history
Moving from Google Cloud bucket to AWS S3 bucket.
  • Loading branch information
HarveyKandola committed Jun 12, 2019
1 parent 8f4cd75 commit b256bf2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion gui/app/components/customize/change-log.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export default Component.extend(Notifier, {
let self = this;
let cacheBuster = + new Date();
$.ajax({
url: `https://storage.googleapis.com/documize/news/summary.html?cb=${cacheBuster}`,
url: `https://documize.s3-eu-west-1.amazonaws.com/news/summary.html?cb=${cacheBuster}`,
type: 'GET',
dataType: 'html',
success: function (response) {
Expand Down
2 changes: 1 addition & 1 deletion gui/app/components/layout/master-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export default Component.extend(Modals, {
let self = this;
let cacheBuster = + new Date();
$.ajax({
url: `https://storage.googleapis.com/documize/news/${edition}/${version}.html?cb=${cacheBuster}`,
url: `https://documize.s3-eu-west-1.amazonaws.com/news/${edition}/${version}.html?cb=${cacheBuster}`,
type: 'GET',
dataType: 'html',
success: function (response) {
Expand Down
2 changes: 1 addition & 1 deletion gui/app/pods/updates/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default Controller.extend({
let cacheBuster = + new Date();

$.ajax({
url: `https://storage.googleapis.com/documize/news/${edition}/${version}.html?cb=${cacheBuster}`,
url: `https://documize.s3-eu-west-1.amazonaws.com/news/${edition}/${version}.html?cb=${cacheBuster}`,
type: 'GET',
dataType: 'html',
success: function (response) {
Expand Down
2 changes: 1 addition & 1 deletion gui/app/services/app-meta.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export default Service.extend({
let self = this;
let cacheBuster = + new Date();

$.getJSON(`https://storage.googleapis.com/documize/news/meta.json?cb=${cacheBuster}`, function (versions) {
$.getJSON(`https://documize.s3-eu-west-1.amazonaws.com/news/meta.json?cb=${cacheBuster}`, function (versions) {
let cv = 'v' + versions.community.version;
let ev = 'v' + versions.enterprise.version;
let re = self.get('edition');
Expand Down
12 changes: 6 additions & 6 deletions gui/app/templates/components/customize/change-log.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
<div class="links">
<p>
<span class="edition-name">Community Edition {{appMeta.communityLatest}}</span>&nbsp;&nbsp;&nbsp;
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-community-windows-amd64.exe">Windows</a>&nbsp;&middot;
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-community-linux-amd64">Linux</a>&nbsp;&middot;
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-community-darwin-amd64">macOS</a>&nbsp;
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-community-windows-amd64.exe">Windows</a>&nbsp;&middot;
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-community-linux-amd64">Linux</a>&nbsp;&middot;
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-community-darwin-amd64">macOS</a>&nbsp;
</p>
<p>
<span class="edition-name">Enterprise Edition {{appMeta.enterpriseLatest}}</span>&nbsp;&nbsp;&nbsp;
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-enterprise-windows-amd64.exe">Windows</a>&nbsp;&middot;
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-enterprise-linux-amd64">Linux</a>&nbsp;&middot;
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-enterprise-darwin-amd64">macOS</a>&nbsp;
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-enterprise-windows-amd64.exe">Windows</a>&nbsp;&middot;
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-enterprise-linux-amd64">Linux</a>&nbsp;&middot;
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-enterprise-darwin-amd64">macOS</a>&nbsp;
</p>
<small class="color-gray-500 margin-top-20">
Documize utilizes {{#link-to "customize.notice" class="color-gray-600"}}third party{{/link-to}} open source components
Expand Down

0 comments on commit b256bf2

Please sign in to comment.