Skip to content

Commit

Permalink
use port 443 on RStudio Server
Browse files Browse the repository at this point in the history
  • Loading branch information
yihui committed Nov 4, 2022
1 parent a412564 commit 3a432c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion R/hugo.R
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,8 @@ hugo_server = function(host, port) {
hugo_server_args = function(host, port) {
c(
'server', '--bind', host, '-p', port, theme_flag(), get_option('blogdown.hugo.server', c(
'-D', '-F', if (hugo_available('0.25')) '--navigateToChanged'
'-D', '-F', if (hugo_available('0.25')) '--navigateToChanged',
if (is_rstudio_server()) c('--liveReloadPort', '443')
))
)
}
Expand Down

0 comments on commit 3a432c2

Please sign in to comment.