Open
Description
System details
Browser Version: Chrome Version 136.0.7103.114
Output of sessionInfo()
:
R version 4.4.0 (2024-04-24 ucrt)
Platform: x86_64-w64-mingw32/x64
Running under: Windows 11 x64 (build 22631)
Matrix products: default
locale:
[1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 LC_MONETARY=English_United States.utf8 LC_NUMERIC=C
[5] LC_TIME=English_United States.utf8
time zone: America/Los_Angeles
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] shiny_1.10.0
loaded via a namespace (and not attached):
[1] digest_0.6.37 later_1.3.2 R6_2.5.1 httpuv_1.6.16 fastmap_1.2.0 magrittr_2.0.3 cachem_1.1.0 memoise_2.0.1 htmltools_0.5.8.1 lifecycle_1.0.4
[11] promises_1.3.2 cli_3.6.3 xtable_1.8-4 sass_0.4.9 textshaping_0.4.0 jquerylib_0.1.4 withr_3.0.2 systemfonts_1.1.0 compiler_4.4.0 rstudioapi_0.17.1
[21] tools_4.4.0 ragg_1.3.3 bslib_0.8.0 mime_0.12 Rcpp_1.0.13 jsonlite_1.8.9 rlang_1.1.4
Example application or steps to reproduce the problem
shiny::runExample("08_html")
1: Open the page in browser
2: Open DevTools -> Console
3: Observe the error: 'Failed to load resource: the server responded with a status of 404 (Not Found) shiny.css:1
Problem Description
This bug occurs when running examples-shiny/08_html. www/index.html requests shared/shiny.css, but the file was updated to shiny.min.css, causing the 404 error. The exact line causing issues is
<link rel="stylesheet" type="text/css" href="shared/shiny.css"/>
Solution
Simply change the href to the existing file:
<link rel="stylesheet" type="text/css" href="shared/shiny.min.css"/>
I would be happy to submit quick patch
Metadata
Metadata
Assignees
Labels
No labels