Skip to content

fix: Correctly add module content type to script tags with versions - #39456

Merged
susnux merged 1 commit into
masterfrom
fix/script-tag-for-module-js-with-version
Jul 18, 2023
Merged

fix: Correctly add module content type to script tags with versions#39456
susnux merged 1 commit into
masterfrom
fix/script-tag-for-module-js-with-version

Conversation

@susnux

Copy link
Copy Markdown
Contributor

Summary

When server is in production mode, scripts will be have a version query (...?v=....), in this case module js script were not delivered with the module content type.

Checklist

…with versions are used
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnuxsusnux added bug 3. to review Waiting for reviews labels Jul 18, 2023
@susnuxsusnux added this to the Nextcloud 28 milestone Jul 18, 2023
@susnux
susnux requested review from a team, ArtificialOwl, icewind1991, nfebe and szaimen and removed request for a teamJuly 18, 2023 11:12
@susnux

Copy link
Copy Markdown
ContributorAuthor

/backport to stable27

@szaimenszaimen left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and makes nextcloud/logreader#936 work :)

@susnux
susnux requested a review from come-ncJuly 18, 2023 12:17
@susnux

Copy link
Copy Markdown
ContributorAuthor

Drone failure seems unrelated

@susnux
susnux merged commit 6e41ebc into masterJul 18, 2023
@susnux
susnux deleted the fix/script-tag-for-module-js-with-version branch July 18, 2023 15:39
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@susnux@szaimen@come-nc