]> cat aescling's git repositories - mastodon.git/commit
Change how CDN_HOST is passed down to make assets build reproducible (#14381)
authorThibG <thib@sitedethib.com>
Mon, 12 Oct 2020 23:19:35 +0000 (01:19 +0200)
committerGitHub <noreply@github.com>
Mon, 12 Oct 2020 23:19:35 +0000 (01:19 +0200)
commit4c45b43cb8a3d902c130729d36d559ec9de23d3e
treeee915a79950dbad38d515a8870a30e40480bff5e
parent53b22d247fb8500ea977774d727fe0d41950189c
Change how CDN_HOST is passed down to make assets build reproducible (#14381)

* Change how CDN_HOST is passed down to make assets build reproducible

* Change webpacker/webpack configuration to dynamically load publicPath based on meta header

* Fix embedded layout missing the cdn-host meta header
16 files changed:
app/javascript/mastodon/components/autosuggest_emoji.js
app/javascript/mastodon/features/compose/components/emoji_picker_dropdown.js
app/javascript/mastodon/features/emoji/emoji.js
app/javascript/mastodon/features/getting_started/components/announcements.js
app/javascript/mastodon/features/ui/components/focal_point_modal.js
app/javascript/mastodon/utils/config.js [new file with mode: 0644]
app/javascript/packs/about.js
app/javascript/packs/admin.js
app/javascript/packs/application.js
app/javascript/packs/error.js
app/javascript/packs/public-path.js [new file with mode: 0644]
app/javascript/packs/public.js
app/javascript/packs/share.js
app/views/layouts/application.html.haml
app/views/layouts/embedded.html.haml
config/webpack/configuration.js