Resolving Paths in index.html file

,

I run a long-running shiny app with an index.html file to manage the page layout. Just recently, the app has not been accessing the HTML files. The program cannot access ANY of the HTML or JS files in the app.
I'd appreciate any ideas about what is going on.

Here is the directory structure for the app:
index.html
ui.R
app.R
setup.R
server.R
/www
/css # the location of the default CSS
/img # Images
/js # JS code
/html # the HTML files

These files are accessed in the UI.R file using the htmlTemplate() command:
function(req) {
htmlTemplate("index.html",
area=selectInput("area","Select your Area:", choices = unique(areas$place)),
sdo_estimates=tableOutput("sdo")
)
}

The app.R file contains this fluidPage command:
ui <- fluidPage(
tags$link(rel = "stylesheet", type = "text/css", href = "www/css/common.css"), #Link to CSS...
titlePanel("Draft Conservation Trust Find Population Estimates for Calendar Vintage 2023"),
tags$html(desc_text),

             ) 

Again, the issue seems to be that Shiny cannot access the contents of the www subdirectory.
Any ideas about how to resolve this issue?
TIA

I was able to resolve this issue by returning to the documentation.
All is well now.
AB

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.