Procházet zdrojové kódy

Merge branch 'master' of github.com:sharelatex/web-sharelatex

Shane Kilkelly před 10 roky
rodič
revize
6162c5ec60
37 změnil soubory, kde provedl 2 přidání a 0 odebrání
  1. 2 0
      services/web/app/coffee/Features/Blog/BlogController.coffee
  2. binární
      services/web/public/img/crests/cambridge.png
  3. binární
      services/web/public/img/crests/durham.png
  4. binární
      services/web/public/img/crests/icl.png
  5. binární
      services/web/public/img/crests/nasa.png
  6. binární
      services/web/public/img/crests/stanford.png
  7. binární
      services/web/public/img/crests/tokyo.png
  8. binární
      services/web/public/img/crests/toronto.gif
  9. binární
      services/web/public/img/crests/yale.png
  10. binární
      services/web/public/img/dropbox/document_updated_modal.png
  11. binární
      services/web/public/img/dropbox/dropbox_banner.png
  12. binární
      services/web/public/img/dropbox/dropbox_banner_tall.png
  13. binární
      services/web/public/img/dropbox/dropbox_logo.png
  14. binární
      services/web/public/img/dropbox/dropbox_progress_bar.png
  15. binární
      services/web/public/img/dropbox/history_diff.png
  16. binární
      services/web/public/img/dropbox/share_dropbox_folder.png
  17. binární
      services/web/public/img/dropbox/simple_logo.png
  18. binární
      services/web/public/img/enago.png
  19. binární
      services/web/public/img/faileupload.png
  20. binární
      services/web/public/img/favicon.png
  21. binární
      services/web/public/img/favicon@2x.png
  22. binární
      services/web/public/img/flags/24/en.png
  23. binární
      services/web/public/img/flags/32/en.png
  24. binární
      services/web/public/img/lion-128.png
  25. binární
      services/web/public/img/lion-sad-128.png
  26. binární
      services/web/public/img/logo.png
  27. binární
      services/web/public/img/logo@2x.png
  28. binární
      services/web/public/img/pattern-home.png
  29. binární
      services/web/public/img/references-search/search_example.gif
  30. binární
      services/web/public/img/screen.png
  31. binární
      services/web/public/img/screen@2x.png
  32. binární
      services/web/public/img/social/facebook-32.png
  33. binární
      services/web/public/img/social/link-32.png
  34. binární
      services/web/public/img/social/twitter-32.png
  35. binární
      services/web/public/img/spellcheck-underline.png
  36. binární
      services/web/public/img/spinner.gif
  37. binární
      services/web/public/img/sprite.png

+ 2 - 0
services/web/app/coffee/Features/Blog/BlogController.coffee

@@ -27,6 +27,8 @@ module.exports = BlogController =
 			data = data.trim()
 			try
 				data = JSON.parse(data)
+				if settings.cdn?.web?.host?
+					data?.content = data?.content?.replace(/src="([^"]+)"/g, "src='#{settings.cdn?.web?.host}$1'");
 			catch err
 				logger.err err:err, data:data, "error parsing data from data"
 			res.render "blog/blog_holder", data

binární
services/web/public/img/crests/cambridge.png


binární
services/web/public/img/crests/durham.png


binární
services/web/public/img/crests/icl.png


binární
services/web/public/img/crests/nasa.png


binární
services/web/public/img/crests/stanford.png


binární
services/web/public/img/crests/tokyo.png


binární
services/web/public/img/crests/toronto.gif


binární
services/web/public/img/crests/yale.png


binární
services/web/public/img/dropbox/document_updated_modal.png


binární
services/web/public/img/dropbox/dropbox_banner.png


binární
services/web/public/img/dropbox/dropbox_banner_tall.png


binární
services/web/public/img/dropbox/dropbox_logo.png


binární
services/web/public/img/dropbox/dropbox_progress_bar.png


binární
services/web/public/img/dropbox/history_diff.png


binární
services/web/public/img/dropbox/share_dropbox_folder.png


binární
services/web/public/img/dropbox/simple_logo.png


binární
services/web/public/img/enago.png


binární
services/web/public/img/faileupload.png


binární
services/web/public/img/favicon.png


binární
services/web/public/img/favicon@2x.png


binární
services/web/public/img/flags/24/en.png


binární
services/web/public/img/flags/32/en.png


binární
services/web/public/img/lion-128.png


binární
services/web/public/img/lion-sad-128.png


binární
services/web/public/img/logo.png


binární
services/web/public/img/logo@2x.png


binární
services/web/public/img/pattern-home.png


binární
services/web/public/img/references-search/search_example.gif


binární
services/web/public/img/screen.png


binární
services/web/public/img/screen@2x.png


binární
services/web/public/img/social/facebook-32.png


binární
services/web/public/img/social/link-32.png


binární
services/web/public/img/social/twitter-32.png


binární
services/web/public/img/spellcheck-underline.png


binární
services/web/public/img/spinner.gif


binární
services/web/public/img/sprite.png