mirror of
https://github.com/documize/community.git
synced 2025-07-21 14:19:43 +02:00
Move product assets to AWS S3
Moving from Google Cloud bucket to AWS S3 bucket.
This commit is contained in:
parent
8f4cd755de
commit
b256bf2e9d
5 changed files with 10 additions and 10 deletions
|
@ -25,7 +25,7 @@ export default Component.extend(Notifier, {
|
||||||
let self = this;
|
let self = this;
|
||||||
let cacheBuster = + new Date();
|
let cacheBuster = + new Date();
|
||||||
$.ajax({
|
$.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',
|
type: 'GET',
|
||||||
dataType: 'html',
|
dataType: 'html',
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
|
|
|
@ -55,7 +55,7 @@ export default Component.extend(Modals, {
|
||||||
let self = this;
|
let self = this;
|
||||||
let cacheBuster = + new Date();
|
let cacheBuster = + new Date();
|
||||||
$.ajax({
|
$.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',
|
type: 'GET',
|
||||||
dataType: 'html',
|
dataType: 'html',
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
|
|
|
@ -27,7 +27,7 @@ export default Controller.extend({
|
||||||
let cacheBuster = + new Date();
|
let cacheBuster = + new Date();
|
||||||
|
|
||||||
$.ajax({
|
$.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',
|
type: 'GET',
|
||||||
dataType: 'html',
|
dataType: 'html',
|
||||||
success: function (response) {
|
success: function (response) {
|
||||||
|
|
|
@ -96,7 +96,7 @@ export default Service.extend({
|
||||||
let self = this;
|
let self = this;
|
||||||
let cacheBuster = + new Date();
|
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 cv = 'v' + versions.community.version;
|
||||||
let ev = 'v' + versions.enterprise.version;
|
let ev = 'v' + versions.enterprise.version;
|
||||||
let re = self.get('edition');
|
let re = self.get('edition');
|
||||||
|
|
|
@ -11,15 +11,15 @@
|
||||||
<div class="links">
|
<div class="links">
|
||||||
<p>
|
<p>
|
||||||
<span class="edition-name">Community Edition {{appMeta.communityLatest}}</span>
|
<span class="edition-name">Community Edition {{appMeta.communityLatest}}</span>
|
||||||
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-community-windows-amd64.exe">Windows</a> ·
|
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-community-windows-amd64.exe">Windows</a> ·
|
||||||
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-community-linux-amd64">Linux</a> ·
|
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-community-linux-amd64">Linux</a> ·
|
||||||
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-community-darwin-amd64">macOS</a>
|
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-community-darwin-amd64">macOS</a>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<span class="edition-name">Enterprise Edition {{appMeta.enterpriseLatest}}</span>
|
<span class="edition-name">Enterprise Edition {{appMeta.enterpriseLatest}}</span>
|
||||||
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-enterprise-windows-amd64.exe">Windows</a> ·
|
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-enterprise-windows-amd64.exe">Windows</a> ·
|
||||||
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-enterprise-linux-amd64">Linux</a> ·
|
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-enterprise-linux-amd64">Linux</a> ·
|
||||||
<a class="link" href="https://storage.googleapis.com/documize/downloads/documize-enterprise-darwin-amd64">macOS</a>
|
<a class="link" href="https://documize.s3-eu-west-1.amazonaws.com/downloads/documize-enterprise-darwin-amd64">macOS</a>
|
||||||
</p>
|
</p>
|
||||||
<small class="color-gray-500 margin-top-20">
|
<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
|
Documize utilizes {{#link-to "customize.notice" class="color-gray-600"}}third party{{/link-to}} open source components
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue