I've opened an issue in a Shiny project I'm leading development in to track an issue I'm having with reactR when the application is deployed to Shinyapps.io. The issue (ashokkrish/episim#148) is only present when running there, and does not occur when running locally.
When running on Shinyapps.io, the following warning is printed in the browser console.
Loading failed for the <script> with source “https://bryce-carson.shinyapps.io/Episim/_w_df7e27de/reactwidget-2.0.0/react-tools.umd.cjs”. Episim:51:53
When running the application locally, the react-based widget the application is using is properly loaded, but the following (different) warning is printed.
The script from “http://127.0.0.1:3171/reactwidget-2.0.0/react-tools.umd.cjs” was loaded even though its MIME type (“application/octet-stream”) is not a valid JavaScript MIME type. 127.0.0.1:3171
Are there are any workarounds I could use while waiting for the version of react-tools that reactR depends on to be bumped to patch the MIME type issue?
I've opened an issue in a Shiny project I'm leading development in to track an issue I'm having with reactR when the application is deployed to Shinyapps.io. The issue (ashokkrish/episim#148) is only present when running there, and does not occur when running locally.
When running on Shinyapps.io, the following warning is printed in the browser console.
When running the application locally, the react-based widget the application is using is properly loaded, but the following (different) warning is printed.
Are there are any workarounds I could use while waiting for the version of react-tools that reactR depends on to be bumped to patch the MIME type issue?