Преглед изворни кода

Replace references to www.transloadit.com to just transloadit.com (#2812)

Kevin van Zonneveld пре 4 година
родитељ
комит
be0834f5a9

+ 2 - 2
packages/@uppy/companion/test/__tests__/header-blacklist.js

@@ -5,7 +5,7 @@ const headerSanitize = require('../../src/server/header-blacklist')
 describe('Header black-list testing', () => {
   test('All headers invalid by name', () => {
     const headers = headerSanitize({
-      origin: 'http://www.transloadit.com',
+      origin: 'http://transloadit.com',
       'Accept-Charset': '...',
       'content-Length': 1234
     })
@@ -40,7 +40,7 @@ describe('Header black-list testing', () => {
       'Content-Type': 'application/json',
       'Content-Length': 1234,
       Expires: 'Wed, 21 Oct 2015 07:28:00 GMT',
-      Origin: 'http://www.transloadit.com'
+      Origin: 'http://transloadit.com'
     })
     expect(Object.keys(headers)).toHaveLength(3)
     expect(headers).toHaveProperty('Authorization')

+ 1 - 1
packages/@uppy/companion/test/__tests__/http-agent.js

@@ -64,7 +64,7 @@ describe('test getProtectedHttpAgent', () => {
 describe('test protected request Agent', () => {
   test('allows URLs without IP addresses', (done) => {
     const options = {
-      uri: 'https://www.transloadit.com',
+      uri: 'https://transloadit.com',
       method: 'GET',
       agentClass: getProtectedHttpAgent('https', true)
     }

+ 4 - 4
website/themes/uppy/layout/layout.ejs

@@ -2,7 +2,7 @@
 <% var title = page.title ? page.title + ' — ' + config.title : config.title %>
 <% var excerpt = page.excerpt ? page.excerpt.replace(/(<([^>]+)>)/ig, '').substring(0, 400) : config.description %>
 <% var image = page.image ? page.image : 'http://uppy.io/images/uppy-social-pink.png' %>
-<% 
+<%
 if (page.series) {
   title = page.series + ': ' + page.title
 }
@@ -25,7 +25,7 @@ if (page.series) {
     <meta name="twitter:description" content="<%- excerpt %>">
     <meta property="og:image" content="<%- image %>">
     <meta name="twitter:image" content="<%- image %>">
-    
+
     <meta name="google-site-verification" content="JxARoHXoCI8bD07pLV_u3z6xpuWNcSIZIcHEytyCkUc" />
 
     <link rel="icon" href="<%- config.logo_icon %>" type="image/x-icon">
@@ -47,7 +47,7 @@ if (page.series) {
           <span>Uppy is an open source project by <a class="TransloaditBar-link" href="https://transloadit.com/" target="_blank">Transloadit</a></span>
         </div>
         <div class="TransloaditBar-info">
-          <a href="https://www.transloadit.com/pricing" class="TransloaditBar-info-link">Transloadit Community Plan</a>: free hosted Companion &amp; tusd, unlimited uploading, and 5GB/mo encoding traffic!
+          <a href="https://transloadit.com/pricing" class="TransloaditBar-info-link">Transloadit Community Plan</a>: free hosted Companion &amp; tusd, unlimited uploading, and 5GB/mo encoding traffic!
         </div>
       </div>
 
@@ -101,7 +101,7 @@ if (page.series) {
         <script src="//kvz.github.io/on-the-githubs/js/jquery.on-the-githubs.min.js"></script>
         <script type="text/javascript">
           $('.on-the-githubs').onthegithubs();
-        </script>        
+        </script>
       <% } %>
       <script src="/js/common.js"></script>